Till Brehm
2014-08-07 6a5113d75bd362a69aa0ce1a344e260cf257b61d
Merge branch 'stable-3.0.5' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.0.5
2 files modified
3 ■■■■ changed files
interface/lib/classes/listform.inc.php 1 ●●●● patch | view | raw | blame | history
interface/lib/classes/session.inc.php 2 ●●● patch | view | raw | blame | history
interface/lib/classes/listform.inc.php
@@ -97,6 +97,7 @@
            $querystring = str_replace("{AUTHSQL}", $app->tform->getAuthSQL('r'), $querystring);
            $querystring = str_replace("{AUTHSQL-A}", $app->tform->getAuthSQL('r', 'a'), $querystring);
            $querystring = str_replace("{AUTHSQL-B}", $app->tform->getAuthSQL('r', 'b'), $querystring);
            $querystring = preg_replace_callback('@{AUTHSQL::(.+?)}@', create_function('$matches','global $app; $tmp = $app->tform->getAuthSQL("r", $matches[1]); return $tmp;'), $querystring);
            //* Getting the records
            $tmp_records = $app->db->queryAllRecords($querystring);
interface/lib/classes/session.inc.php
@@ -99,7 +99,7 @@
            $date_created = date('Y-m-d H:i:s');
            $last_updated = date('Y-m-d H:i:s');
            $session_data = $this->db->quote($session_data);
            $sql = "INSERT INTO sys_session (session_id,date_created,last_updated,session_data,permanent) VALUES ('$session_id','$date_created','$last_updated','$session_data','" . ($this->permanent ? 'y' : 'n') . "')";
            $sql = "REPLACE INTO sys_session (session_id,date_created,last_updated,session_data,permanent) VALUES ('$session_id','$date_created','$last_updated','$session_data','" . ($this->permanent ? 'y' : 'n') . "')";
            $this->db->query($sql);
        } else {