The branch, master has been updated
via 72f9042b9ae715b912057934bdbc061a2444ff65 (commit)
from 843de6fdf5ea5a157e43d0e4a4f17db114a9f5e1 (commit)
- Log -----------------------------------------------------------------
commit 72f9042b9ae715b912057934bdbc061a2444ff65
Author: Michal Čihař <[email protected]>
Date: Mon Aug 15 10:43:21 2011 +0200
Coding style
-----------------------------------------------------------------------
Summary of changes:
libraries/Advisor.class.php | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libraries/Advisor.class.php b/libraries/Advisor.class.php
index ca9fb6f..bf4fd41 100644
--- a/libraries/Advisor.class.php
+++ b/libraries/Advisor.class.php
@@ -69,9 +69,11 @@ class Advisor
$this->variables['value'] = $value;
try {
- if($this->ruleExprEvaluate($rule['test']))
+ if ($this->ruleExprEvaluate($rule['test'])) {
$this->addRule('fired', $rule);
- else $this->addRule('notfired', $rule);
+ } else {
+ $this->addRule('notfired', $rule);
+ }
} catch(Exception $e) {
$this->runResult['errors'][] = 'Failed running test for
rule \''.$rule['name'].'\'. PHP threw following error: '.$e->getMessage();
}
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git