[evolvis-commits] r12950: Fixed syntax errors (thanks, buildbot)
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Feb 28 02:11:18 CET 2011
Author: mirabilos
Date: 2011-02-28 02:11:18 +0100 (Mon, 28 Feb 2011)
New Revision: 12950
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Role.class.php
trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class.php
Log:
Fixed syntax errors (thanks, buildbot)
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Role.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Role.class.php 2011-02-28 01:11:14 UTC (rev 12949)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Role.class.php 2011-02-28 01:11:18 UTC (rev 12950)
@@ -440,7 +440,7 @@
$data['docman'][0],
$data['scm'][0],
$data['frs'][0],
- $data['trackeradmin'][0];
+ $data['trackeradmin'][0],
$this->getID())) ;
if (!$res) {
$this->setError('update::usergroup::'.db_error());
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class.php 2011-02-28 01:11:14 UTC (rev 12949)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class.php 2011-02-28 01:11:18 UTC (rev 12950)
@@ -1094,7 +1094,7 @@
//if this is the logged in user, see if they are a super user
$result = db_query_params ('SELECT count(*) AS count FROM user_group WHERE user_id=$1 AND group_id=1 AND admin_flags=$2',
array ($this->getID(),
- 'A'))) ;
+ 'A')) ;
if (!$result) {
$this->is_super_user=false;
return;
More information about the evolvis-commits
mailing list