aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Poche.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Poche.class.php')
-rwxr-xr-xinc/poche/Poche.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 74a185bd..c7aa71e8 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -605,8 +605,8 @@ class Poche
605 break; 605 break;
606 606
607 case 'search': 607 case 'search':
608 if (isset($_POST['search'])){ 608 if (isset($_GET['search'])){
609 $search = $_POST['search']; 609 $search = $_GET['search'];
610 $tpl_vars['entries'] = $this->store->search($search); 610 $tpl_vars['entries'] = $this->store->search($search);
611 $tpl_vars['nb_results'] = count($tpl_vars['entries']); 611 $tpl_vars['nb_results'] = count($tpl_vars['entries']);
612 } 612 }