From d1c4ef504360063936f767c7ab6c251c97c3f41f Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 31 Oct 2009 10:17:55 +0000 Subject: test getObjectUsers() and fix a bug found by the tests git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@484 b3834d28-1941-0410-a4f8-b48e95affb8f --- src/SemanticScuttle/Service/User.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/SemanticScuttle/Service/User.php') diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php index 3f07242..5affa0b 100644 --- a/src/SemanticScuttle/Service/User.php +++ b/src/SemanticScuttle/Service/User.php @@ -155,6 +155,7 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService return false; } + $users = array(); while ($row = & $this->db->sql_fetchrow($dbresult)) { $users[] = new SemanticScuttle_Model_User( $row[$this->getFieldName('primary')], -- cgit v1.2.3-54-g00ecf