From d7a25387c4794002f3aaf3b7d27043d637e7e88f Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Tue, 6 Feb 2001 12:38:35 +0000 Subject: [PATCH] added a missing '' araound a sql statement --- phpgwapi/inc/class.preferences.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.preferences.inc.php b/phpgwapi/inc/class.preferences.inc.php index 7046628e89..64a085e09d 100644 --- a/phpgwapi/inc/class.preferences.inc.php +++ b/phpgwapi/inc/class.preferences.inc.php @@ -49,7 +49,7 @@ function read_repository() { $this->db->lock("preferences"); - $this->db->query("SELECT preference_value FROM preferences WHERE preference_owner=".$this->account_id,__LINE__,__FILE__); + $this->db->query("SELECT preference_value FROM preferences WHERE preference_owner='".$this->account_id."'",__LINE__,__FILE__); $this->db->next_record(); $pref_info = $this->db->f("preference_value"); $this->data = Array();