[pLog-svn] r2053 - plog/branches/plog-1.0.1/class/action/admin
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Mon May 23 09:14:30 GMT 2005
Author: oscar
Date: 2005-05-23 09:14:30 +0000 (Mon, 23 May 2005)
New Revision: 2053
Modified:
plog/branches/plog-1.0.1/class/action/admin/adminmainaction.class.php
Log:
fix for issue 537 (http://bugs.plogworld.net/view.php?id=537)
Modified: plog/branches/plog-1.0.1/class/action/admin/adminmainaction.class.php
===================================================================
--- plog/branches/plog-1.0.1/class/action/admin/adminmainaction.class.php 2005-05-23 09:08:39 UTC (rev 2052)
+++ plog/branches/plog-1.0.1/class/action/admin/adminmainaction.class.php 2005-05-23 09:14:30 UTC (rev 2053)
@@ -61,6 +61,14 @@
return false;
}
+
+ // if so, check that it is active
+ if( $this->_blogInfo->getStatus() != BLOG_STATUS_ACTIVE ) {
+ $this->_view = new AdminSimpleErrorView();
+ $this->_view->setValue( "message", $this->_locale->tr("error_incorrect_blog_id" ));
+
+ return false;
+ }
// if the blog identifier is valid, now we should now check if the user belongs
// to that blog so that we know for sure that nobody has tried to forge the
More information about the pLog-svn
mailing list