Remove direct access _GET
This commit is contained in:
parent
c6390edd8d
commit
1d32dbe93f
1 changed files with 4 additions and 2 deletions
|
|
@ -132,9 +132,11 @@
|
|||
<?php echo Tag::button_search('search'); ?>
|
||||
<?php
|
||||
if ( isset($_GET['searchtag'])) {
|
||||
$http=new HttpInput();
|
||||
echo Tag::add_clear_button('search');
|
||||
for ($i=0;$i<count($_GET['searchtag']);$i++) {
|
||||
$t=new Tag($cn, $_GET['searchtag'][$i]);
|
||||
$asearchtag= $http->get("searchtag","array",array());
|
||||
for ($i=0;$i<count($asearchtag);$i++) {
|
||||
$t=new Tag($cn, $asearchtag[$i]);
|
||||
echo $t->update_search_cell('search');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue