[pLog-svn] r4339 - plog/trunk/class/action/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Nov 26 21:27:14 GMT 2006


Author: oscar
Date: 2006-11-26 21:27:13 +0000 (Sun, 26 Nov 2006)
New Revision: 4339

Modified:
   plog/trunk/class/action/admin/adminaddpostaction.class.php
Log:
fixed a small issue


Modified: plog/trunk/class/action/admin/adminaddpostaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminaddpostaction.class.php	2006-11-26 21:01:12 UTC (rev 4338)
+++ plog/trunk/class/action/admin/adminaddpostaction.class.php	2006-11-26 21:27:13 UTC (rev 4339)
@@ -138,7 +138,7 @@
 			$artId = $this->_savePostData( $article );
 			
 			// depending on the permission that the user has, we'll show one view or another
-			if( $this->userHasPermission( "view_posts" ))
+			if( !$this->userHasPermission( "view_posts" ))
 				$view = "AdminNewPostView";
 			else
 				$view = "AdminPostsListView";			



More information about the pLog-svn mailing list