[3878] trunk/htdocs/system/classes/post.php: For a limited rights user, adminhandler needs the content_type handler var set.

0 views
Skip to first unread message

svn-N...@habariproject.org

unread,
Dec 12, 2009, 7:36:09 PM12/12/09
to habar...@googlegroups.com
Revision
3878
Author
rickc
Date
2009-12-13 00:36:09 +0000 (Sun, 13 Dec 2009)

Log Message

For a limited rights user, adminhandler needs the content_type handler var set.

Modified Paths

Diff

Modified: trunk/htdocs/system/classes/post.php (3877 => 3878)


--- trunk/htdocs/system/classes/post.php	2009-12-12 03:05:52 UTC (rev 3877)
+++ trunk/htdocs/system/classes/post.php	2009-12-13 00:36:09 UTC (rev 3878)
@@ -827,6 +827,7 @@
 
 		// Add required hidden controls
 		$form->append('hidden', 'content_type', 'null:null');
+		$form->content_type->id = 'content_type';
 		$form->content_type->value = $this->content_type;
 		$form->append('hidden', 'post_id', 'null:null');
 		$form->post_id->id = 'id';
Reply all
Reply to author
Forward
0 new messages