make mmlist be a derived class from xlmrpcclient, that's way more pretty,
[platal.git] / include / search.inc.php
index 97bc11e..c3601a2 100644 (file)
@@ -137,7 +137,7 @@ class XOrgSearch extends XOrgPlugin
        global $page;
 
         $offset = intval($this->get_value('offset'));
-        $tab    = $this->orders[$this->get_value('order')];
+        $tab    = @$this->orders[$this->get_value('order')];
         if (!$tab || !$tab[3]) {
             $tab = $this->orders[$this->order_defaut];
         }