diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-29 22:28:48 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-29 22:28:48 -0700 |
| commit | f660eb55aa9535c10f91ad2812fa073589fcae2b (patch) | |
| tree | 11d8727061378408bbc16ede888a058ba20542fb /installer/installer.php | |
| parent | 0097803efc1c71711bf9ccf5015fe43e75f8f28d (diff) | |
| parent | ce285b8feba2f9c495fb153517c2a582421f50e0 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'installer/installer.php')
| -rw-r--r-- | installer/installer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/installer.php b/installer/installer.php index 38fde1fe..ab2963ba 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -110,7 +110,8 @@ class installer { $data .= ";after_install|i:1"; $data .= ";last_activity|i:$now"; $data = base64_encode($data); - $sql = "INSERT INTO {sessions} VALUES('$session_id', $now, '$data')"; + $sql = "INSERT INTO {sessions}(`session_id`, `last_activity`, `data`) " . + "VALUES('$session_id', $now, '$data')"; $sql = self::prepend_prefix($config["prefix"], $sql); if (mysql_query($sql)) { setcookie("g3sid", $session_id, 0, "/", "", false, false); |
