[Mapbender-commits] r5901 - branches/3_dev/core/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Apr 11 04:24:50 EDT 2010


Author: astrid_emde
Date: 2010-04-11 04:24:48 -0400 (Sun, 11 Apr 2010)
New Revision: 5901

Modified:
   branches/3_dev/core/lib/class_User.php
Log:


Modified: branches/3_dev/core/lib/class_User.php
===================================================================
--- branches/3_dev/core/lib/class_User.php	2010-04-10 16:13:13 UTC (rev 5900)
+++ branches/3_dev/core/lib/class_User.php	2010-04-11 08:24:48 UTC (rev 5901)
@@ -409,7 +409,9 @@
       $res_user = db_query($sql_user);
       if($row = db_fetch_array($res_user))
       {
-        return  new User($row['mb_user_id']);
+	$user = new User($row['mb_user_id']);
+	$user->load();	
+        return  $user;
       }
       return null;
 



More information about the Mapbender_commits mailing list