[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_2-14991-g72f9042
Michal Čihař
nijel at users.sourceforge.net
Mon Aug 15 10:43:36 CEST 2011
The branch, master has been updated
via 72f9042b9ae715b912057934bdbc061a2444ff65 (commit)
from 843de6fdf5ea5a157e43d0e4a4f17db114a9f5e1 (commit)
- Log -----------------------------------------------------------------
commit 72f9042b9ae715b912057934bdbc061a2444ff65
Author: Michal Čihař <michal at cihar.com>
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
More information about the Git
mailing list