[xoops-cvslog 5811] CVS update: xoops2jp/html/modules/legacy/admin/actions

Back to archive index

Minahito minah****@users*****
2006年 11月 12日 (日) 01:13:44 JST


Index: xoops2jp/html/modules/legacy/admin/actions/CommentEditAction.class.php
diff -u xoops2jp/html/modules/legacy/admin/actions/CommentEditAction.class.php:1.1.2.4 xoops2jp/html/modules/legacy/admin/actions/CommentEditAction.class.php:1.1.2.5
--- xoops2jp/html/modules/legacy/admin/actions/CommentEditAction.class.php:1.1.2.4	Sat Nov 11 16:06:23 2006
+++ xoops2jp/html/modules/legacy/admin/actions/CommentEditAction.class.php	Sun Nov 12 01:13:44 2006
@@ -140,7 +140,7 @@
 		// We think we should not use getUser() and updateUserByField in XCube 2.1.
 		//
 		$user =& $handler->getUser($comment->get('com_uid'));
-		if (is_obejct($user)) {
+		if (is_object($user)) {
 			$handler->updateUserByField($user, 'posts', $user->get('posts') + 1);
 		}
 	}
@@ -158,7 +158,7 @@
 			// We think we should not use getUser() and updateUserByField in XCube 2.1.
 			//
 			$user =& $handler->getUser($comment->get('com_uid'));
-			if (is_obejct($user)) {
+			if (is_object($user)) {
 				$handler->updateUserByField($user, 'posts', $user->get('posts') + 1);
 			}
 		}


xoops-cvslog メーリングリストの案内
Back to archive index