[3876] trunk/htdocs/system/classes/comment.php: fix var name misspelling

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Dec 10, 2009, 9:58:29 PM12/10/09
to habar...@googlegroups.com
Revision
3876
Author
MattRead
Date
2009-12-11 02:58:28 +0000 (Fri, 11 Dec 2009)

Log Message

fix var name misspelling

Modified Paths

Diff

Modified: trunk/htdocs/system/classes/comment.php (3875 => 3876)


--- trunk/htdocs/system/classes/comment.php	2009-12-09 21:13:05 UTC (rev 3875)
+++ trunk/htdocs/system/classes/comment.php	2009-12-11 02:58:28 UTC (rev 3876)
@@ -388,8 +388,8 @@
 			return self::$comment_status_actions[$status];
 		}
 		$statuses = array_flip( Comment::list_comment_statuses() );
-		if ( isset($statuses[$name]) ) {
-			return self::$comment_status_actions[$statuses[$name]];
+		if ( isset($statuses[$status]) ) {
+			return self::$comment_status_actions[$statuses[$status]];
 		}
 
 		return '';
Reply all
Reply to author
Forward
0 new messages