[pLog-svn] r2022 - plugins/trunk
pwestbro at devel.plogworld.net
pwestbro at devel.plogworld.net
Thu May 19 18:14:03 GMT 2005
Author: pwestbro
Date: 2005-05-19 18:14:03 +0000 (Thu, 19 May 2005)
New Revision: 2022
Modified:
plugins/trunk/moblog.php
Log:
Fixed bug: http://bugs.plogworld.net/view.php?id=524
Fixed a problem where if a blog did not have a resource album associated
with it, an error would occur.
Modified: plugins/trunk/moblog.php
===================================================================
--- plugins/trunk/moblog.php 2005-05-19 13:57:43 UTC (rev 2021)
+++ plugins/trunk/moblog.php 2005-05-19 18:14:03 UTC (rev 2022)
@@ -172,6 +172,7 @@
MoblogLogger::log( "User '".$request->getUser()."' tried to use category '".$categoryId.
"' which does not exist.");
$response->send();
+ return false;
}
//
@@ -193,6 +194,7 @@
MoblogLogger::log( "User '".$request->getUser()."' tried to use album '".$albumId.
"' which does not exist.");
$response->send();
+ return false;
}
MoblogLogger::log( "Adding resources to album ".$album->getName());
More information about the pLog-svn
mailing list