mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix for Postgres DB error loading eTemplate from Yudhi Kusnanto
This commit is contained in:
parent
afafbec708
commit
f47cced6ed
@ -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');
|
||||
|
||||
@ -1268,4 +1268,4 @@ class soetemplate
|
||||
self::$db_cols = self::$db_key_cols + self::$db_data_cols;
|
||||
}
|
||||
}
|
||||
soetemplate::_init_static();
|
||||
soetemplate::_init_static();
|
||||
|
Loading…
Reference in New Issue
Block a user