File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181 $ PAGE ->glossary_display_match_list ($ GLOSSARY );
8282 } else {
8383 // Eek! no results at all? Excellent...
84- // Ok, so now we can see of the word(s) appear in Hansard at all.
84+ // Ok, so now we can see if the word(s) appear in Hansard at all.
8585 // The following query was modified from the hansardlist search.
8686 // However, no point checking, if the user can't add terms.
8787 if ($ THEUSER ->is_able_to ('addterm ' )) {
8888
89- $ args ['count ' ] = $ GLOSSARY ->hansard_count ($ args );
89+ $ SEARCHENGINE = new SEARCHENGINE ('" ' . $ args ['s ' ] . '" ' );
90+ $ args ['count ' ] = $ SEARCHENGINE ->run_count ();
9091 if ($ args ['count ' ]) {
9192 // Display the Add definition form.
9293 $ PAGE ->glossary_add_link_form ($ args );
Original file line number Diff line number Diff line change 3232) {
3333 $ GLOSSARY ->query = "" ;
3434 $ args ['blankform ' ] = 1 ;
35- $ URL = new URL ('help_us_out ' );
36- $ backlink = $ URL ->generate ();
3735 $ error_message = "Sorry, that phrase appears too many times to be a useful as a link within the parliamentary record. " ;
3836}
3937
You can’t perform that action at this time.
0 commit comments