Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
interface/lib/classes/listform.inc.php
@@ -46,7 +46,7 @@
        if(!is_file($file)){
            die("List-Definition: $file not found.");
        }
        require_once($file);
      require_once $file;
        $this->listDef = $liste;
        $this->module = $module;
      
@@ -62,7 +62,7 @@
      //* Set local Language File
      $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_'.$this->listDef['name'].'_list.lng';
      if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$this->listDef['name'].'_list.lng';
      include($lng_file);
      include $lng_file;
      
      $this->wordbook = $wb;
      
@@ -76,6 +76,8 @@
    * @param record = Dataset as array
    * @return array key => value array for the value field of a form
    */
    private function getDatasourceData($field)
    {
        global $app;
@@ -248,7 +250,7 @@
        global $app, $conf;
      
      //* Add Global Limit from selectbox
        if(!empty($_POST['search_limit']) AND $app->functions->intval($_POST['search_limit']) > 0){
      if(!empty($_POST['search_limit']) and $app->functions->intval($_POST['search_limit']) > 0){
         $_SESSION['search']['limit'] = $app->functions->intval($_POST['search_limit']);
      }