The branch, master has been updated
       via  18698ad6ada502eca7d48bbd4c59e98c7c7e4a1b (commit)
      from  ee2578764ab8106ad519daa70077418f9749676f (commit)


- Log -----------------------------------------------------------------
commit 18698ad6ada502eca7d48bbd4c59e98c7c7e4a1b
Author: Michal Čihař <[email protected]>
Date:   Mon Aug 15 09:30:53 2011 +0200

    Fix what I broke for multi param formats

-----------------------------------------------------------------------

Summary of changes:
 libraries/advisor.class.php |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/libraries/advisor.class.php b/libraries/advisor.class.php
index f8f6020..544aa84 100644
--- a/libraries/advisor.class.php
+++ b/libraries/advisor.class.php
@@ -98,7 +98,11 @@ class Advisor
             return sprintf(_gettext(Advisor::escapePercent($str)));
         } else {
             $value = $this->ruleExprEvaluate($param);
-            return sprintf(_gettext(Advisor::escapePercent($str)), $value);
+            $printf = 'sprintf("' . _gettext(Advisor::escapePercent($str)) . 
'",';
+            return $this->ruleExprEvaluate(
+                $printf . $param . ')',
+                strlen($printf)
+            );
         }
     }
 


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

Reply via email to