Alexander Nicolaysen Sørnes : screenshot : Fix default values for objectGetEntries[Count]

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Aug 9 15:21:49 CDT 2009


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Aug  9 22:21:22 2009 +0200

screenshot: Fix default values for objectGetEntries[Count]

---

 include/screenshot.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/screenshot.php b/include/screenshot.php
index 6e2ccf9..91378fc 100644
--- a/include/screenshot.php
+++ b/include/screenshot.php
@@ -687,13 +687,13 @@ class screenshot
         return $oFilter;
     }
 
-    function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $oFilters = true)
+    function objectGetEntries($sState, $iRows = 0, $iStart = 0, $sOrderBy = '', $bAscending = true, $oFilters = null)
     {
         return appData::objectGetEntries($sState, $iRows, $iStart, $sOrderBy, $bAscending,
                                          'screenshot', $oFilters);
     }
 
-    function objectGetEntriesCount($sState, $oFilters = true)
+    function objectGetEntriesCount($sState, $oFilters = null)
     {
         return appData::objectGetEntriesCount($sState, 'screenshot', $oFilters);
     }




More information about the wine-cvs mailing list