forked from extern/egroupware
added a missing '' araound a sql statement
This commit is contained in:
parent
2d4dedfbd5
commit
d7a25387c4
@ -49,7 +49,7 @@
|
|||||||
function read_repository()
|
function read_repository()
|
||||||
{
|
{
|
||||||
$this->db->lock("preferences");
|
$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();
|
$this->db->next_record();
|
||||||
$pref_info = $this->db->f("preference_value");
|
$pref_info = $this->db->f("preference_value");
|
||||||
$this->data = Array();
|
$this->data = Array();
|
||||||
|
Loading…
Reference in New Issue
Block a user