mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
"backporting Nathans Postgres fix to 1.6"
This commit is contained in:
parent
de52ae46bb
commit
69103a7fce
@ -835,7 +835,7 @@ class soetemplate
|
||||
{
|
||||
$this->modified = time();
|
||||
}
|
||||
if (is_null($this->group) && !is_int($this->group)) $this->group = 0;
|
||||
if (is_null($this->group) || !is_int($this->group)) $this->group = 0;
|
||||
|
||||
$this->db->insert(self::TABLE,$this->as_array(3,true),$this->as_array(-1,true),__LINE__,__FILE__,'etemplate');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user