[pLog-svn] r4552 - plog/branches/lifetype-1.1.5/class/action
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Wed Jan 17 21:25:44 GMT 2007
Author: jondaley
Date: 2007-01-17 21:25:43 +0000 (Wed, 17 Jan 2007)
New Revision: 4552
Modified:
plog/branches/lifetype-1.1.5/class/action/blogaction.class.php
plog/branches/lifetype-1.1.5/class/action/resourceserveraction.class.php
Log:
this is a little cleaner
Modified: plog/branches/lifetype-1.1.5/class/action/blogaction.class.php
===================================================================
--- plog/branches/lifetype-1.1.5/class/action/blogaction.class.php 2007-01-17 21:19:39 UTC (rev 4551)
+++ plog/branches/lifetype-1.1.5/class/action/blogaction.class.php 2007-01-17 21:25:43 UTC (rev 4552)
@@ -230,9 +230,12 @@
else if($blogName){
$this->_blogInfo = $blogs->getBlogInfoByName( $blogName );
}
- else{
+ else if{$blogDomain}{
$this->_blogInfo = $blogs->getBlogInfoByDomain( $blogDomain );
}
+ else{
+ $this->_blogInfo = false;
+ }
$blogExists = true;
Modified: plog/branches/lifetype-1.1.5/class/action/resourceserveraction.class.php
===================================================================
--- plog/branches/lifetype-1.1.5/class/action/resourceserveraction.class.php 2007-01-17 21:19:39 UTC (rev 4551)
+++ plog/branches/lifetype-1.1.5/class/action/resourceserveraction.class.php 2007-01-17 21:25:43 UTC (rev 4552)
@@ -124,9 +124,12 @@
else if($blogName){
$this->_blogInfo = $blogs->getBlogInfoByName( $blogName );
}
- else{
+ else if{$blogDomain}{
$this->_blogInfo = $blogs->getBlogInfoByDomain( $blogDomain );
}
+ else{
+ $this->_blogInfo = false;
+ }
}
function validate()
More information about the pLog-svn
mailing list