From d1c25c7c3835a018932c00d6e4b0d7a6b0e3ad98 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 27 May 2014 12:46:18 +0000 Subject: [PATCH] * fixed SQL error "Field last_mod doesnt have a default value" on update for newer MySQL versions or PostgreSQL --- phpgwapi/inc/class.categories.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/inc/class.categories.inc.php b/phpgwapi/inc/class.categories.inc.php index 7cc7694866..429cf469b4 100644 --- a/phpgwapi/inc/class.categories.inc.php +++ b/phpgwapi/inc/class.categories.inc.php @@ -956,6 +956,7 @@ class categories 'cat_appname' => '*update*', 'cat_name' => 'global=0', 'cat_description' => 'global=0', + 'last_mod' => time(), ),false,__LINE__,__FILE__); } self::$cache = array();