[pLog-svn] r3095 - plog/trunk/class/summary/action

mark at devel.lifetype.net mark at devel.lifetype.net
Wed Mar 22 19:06:48 GMT 2006


Author: mark
Date: 2006-03-22 19:06:47 +0000 (Wed, 22 Mar 2006)
New Revision: 3095

Modified:
   plog/trunk/class/summary/action/activeaccountaction.class.php
Log:
The activate process works again.

Modified: plog/trunk/class/summary/action/activeaccountaction.class.php
===================================================================
--- plog/trunk/class/summary/action/activeaccountaction.class.php	2006-03-22 12:12:53 UTC (rev 3094)
+++ plog/trunk/class/summary/action/activeaccountaction.class.php	2006-03-22 19:06:47 UTC (rev 3095)
@@ -45,9 +45,9 @@
         $users->updateUser($userInfo);
         // also active the blog that user owned
         // FIXME: how about other blogs that this user take part in?
-        $userBlogs = $userInfo->getUserBlogs();
+        $userBlogs = $userInfo->getBlogs();
         foreach( $userBlogs as $blog ) {
-            if( $blogInfo->getOwnerId() == $userInfo->getId()) {
+            if( $blog->getOwnerId() == $userInfo->getId()) {
                 break;
             }
         }



More information about the pLog-svn mailing list