ftimme
2013-03-13 35ccdef6c75424ff0782cd873bb0fe7ec03536b5
interface/lib/classes/listform_actions.inc.php
@@ -142,13 +142,14 @@
         if($_SESSION['s']['user']['typ'] == "admin") {
            $sql_where = '';
         } else {
            $sql_where = $app->tform->getAuthSQL('r').' and';
            $sql_where = $app->tform->getAuthSQL('r', $app->listform->listDef['table']).' and';
                //$sql_where = $app->tform->getAuthSQL('r').' and';
         }
      }      
      if($this->SQLExtWhere != '') {
         $sql_where .= ' '.$this->SQLExtWhere.' and';
      }
      $sql_where = $app->listform->getSearchSQL($sql_where);
      $app->tpl->setVar($app->listform->searchValues);