From 9b27f561a93622c1dedd3703a442cf6d9e4b905b Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 26 Jan 2014 16:26:11 -0500 Subject: [PATCH] Fix typo in WS call --- main/webservices/registration.soap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webservices/registration.soap.php b/main/webservices/registration.soap.php index 56fb4a0ec8..34f1dd74c4 100644 --- a/main/webservices/registration.soap.php +++ b/main/webservices/registration.soap.php @@ -3407,7 +3407,7 @@ function WSCreateSession($params) $results[] = 0; continue;*/ } else { - $rs = Database::query("SELECT 1 FROM $tbl_session WHERE name='".Datanbase::escape_string($name)."'"); + $rs = Database::query("SELECT 1 FROM $tbl_session WHERE name='".Database::escape_string($name)."'"); if (Database::num_rows($rs)) { $results[] = 0; continue;