X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttRegistrator.class.php;h=33d325971ff06cf54b89845827fb9269835d4dc8;hb=bbea8c35f79ef9699e4b6deab0be3c1108628ef0;hp=b122d015f5a4622108b621ff9fdfccbf44469701;hpb=96e8b431e4b1dadd919b831e4ae184d29ebf1235;p=timetracker.git diff --git a/WEB-INF/lib/ttRegistrator.class.php b/WEB-INF/lib/ttRegistrator.class.php index b122d015..33d32597 100644 --- a/WEB-INF/lib/ttRegistrator.class.php +++ b/WEB-INF/lib/ttRegistrator.class.php @@ -149,11 +149,12 @@ class ttRegistrator { $name = $mdb2->quote($this->group_name); $currency = $mdb2->quote($this->currency); $lang = $mdb2->quote($this->lang); + $plugins = $mdb2->quote(defined('DEFAULT_PLUGINS') ? DEFAULT_PLUGINS : null); $created = 'now()'; $created_ip = $mdb2->quote($_SERVER['REMOTE_ADDR']); - $sql = "insert into tt_groups (group_key, name, currency, lang, created, created_ip)". - " values($group_key, $name, $currency, $lang, $created, $created_ip)"; + $sql = "insert into tt_groups (group_key, name, currency, lang, plugins, created, created_ip)". + " values($group_key, $name, $currency, $lang, $plugins, $created, $created_ip)"; $affected = $mdb2->exec($sql); if (is_a($affected, 'PEAR_Error')) return false;