[APPDB] Fixed test_maintainer_getMaintainerCountForUser

Alexandru Băluț alexandru.balut at gmail.com
Mon Jun 21 04:44:27 CDT 2010


I get the error below without this fix.

test_maintainer_getMaintainerCountForUser() starting
PHP Fatal error:  Call to undefined function getMaintainerCountForUserId()
in appdb-git/include/maintainer.php on line 546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100621/c98236ac/attachment.htm>
-------------- next part --------------
---
 include/maintainer.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/maintainer.php b/include/maintainer.php
index 34cef97..00ff90d 100644
--- a/include/maintainer.php
+++ b/include/maintainer.php
@@ -543,7 +543,7 @@ class maintainer
     // returns the number of applications/versions a particular user maintains
     function getMaintainerCountForUser($oUser, $bSuperMaintainer)
     {
-        return getMaintainerCountForUserId($oUser->iUserId, $bSuperMaintainer);
+        return self::getMaintainerCountForUserId($oUser->iUserId, $bSuperMaintainer);
     }
 
     /**
-- 
1.7.0.4


More information about the wine-patches mailing list