Falko Timme
2013-10-22 d5473beac0fb8fdd2b11be1f7fd286d2aaed1649
interface/lib/classes/tform.inc.php
@@ -251,6 +251,7 @@
                  unset($tmp_recordid);
                  
                        $querystring = str_replace("{AUTHSQL}",$this->getAuthSQL('r'),$querystring);
                  $querystring = preg_replace_callback('@{AUTHSQL::(.+?)}@', "self::table_auth_sql", $querystring);
                  
                        // Getting the records
                        $tmp_records = $app->db->queryAllRecords($querystring);
@@ -292,6 +293,10 @@
        }
      
      function table_auth_sql($matches){
         return $this->getAuthSQL('r', $matches[1]);
      }
      //* If the parameter 'valuelimit' is set
      function applyValueLimit($limit,$values) {