From 565340a0b891da16f6055342d19b79552e8a789b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 30 Dec 2010 15:33:08 +0100 Subject: [PATCH] =?utf8?q?CSV-Import=20gefixt:=20auth.session=5Fcontent=20?= =?utf8?q?enth=C3=A4lt=20YAML-dedumpte=20Werte?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Conflicts: lxo-import/import_lib.php --- lxo-import/import_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxo-import/import_lib.php b/lxo-import/import_lib.php index 996d21e64..6d9dd879b 100644 --- a/lxo-import/import_lib.php +++ b/lxo-import/import_lib.php @@ -351,7 +351,7 @@ function authuser($dbhost,$dbport,$dbuser,$dbpasswd,$dbname,$cookie,$login,$pwd) $db=new myDB($dbhost,$dbuser,$dbpasswd,$dbname,$dbport,true); if ($cookie) { $sql="select sc.session_id,u.id from auth.session_content sc left join auth.user u on "; - $sql.="u.login=sc.sess_value left join auth.session s on s.id=sc.session_id "; + $sql.="('--- ' || u.login || E'\\n')=sc.sess_value left join auth.session s on s.id=sc.session_id "; $sql.="where session_id = '$cookie' and sc.sess_key='login'";// order by s.mtime desc"; $rs=$db->getAll($sql,"authuser_1"); if (!$rs) return false; -- 2.20.1