Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: db_filter_ui: Prevent use of undefined variable

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Jan 12 08:57:18 CST 2014


Module: appdb
Branch: master
Commit: f914e0aefe58a99cfaa27881b5b9e6358ca13a08
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=f914e0aefe58a99cfaa27881b5b9e6358ca13a08

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Jan 12 15:21:10 2014 +0100

db_filter_ui: Prevent use of undefined variable

---

 include/db_filter_ui.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/db_filter_ui.php b/include/db_filter_ui.php
index fc16546..4aabfcb 100644
--- a/include/db_filter_ui.php
+++ b/include/db_filter_ui.php
@@ -455,7 +455,7 @@ class FilterInterface
             $iOp = $aClean["i{$sColumn}Op"];
 
 
-            if($iOp && $sData && ($oOption->getValueType() != FILTER_VALUES_OPTION_BOOL || !$bChangedOoption))
+            if($iOp && $sData && ($oOption->getValueType() != FILTER_VALUES_OPTION_BOOL || !$bChangedOption))
             {
                 $oFilter = new Filter($oOption->getColumn(), $iOp, $sData);
                 $aReturn[] = $oFilter;




More information about the wine-cvs mailing list