[Fusionforge-commits] r11742 - trunk/src/common/include

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Dec 9 15:43:08 CET 2010


Author: nerville
Date: 2010-12-09 15:43:07 +0100 (Thu, 09 Dec 2010)
New Revision: 11742

Modified:
   trunk/src/common/include/Group.class.php
Log:
if no error set

Modified: trunk/src/common/include/Group.class.php
===================================================================
--- trunk/src/common/include/Group.class.php	2010-12-09 14:24:12 UTC (rev 11741)
+++ trunk/src/common/include/Group.class.php	2010-12-09 14:43:07 UTC (rev 11742)
@@ -636,6 +636,9 @@
 		$hook_params['group_name'] = htmlspecialchars($group_name);
 		$hook_params['group_description'] = htmlspecialchars($short_description);
 		if (!plugin_hook("group_update", $hook_params)) {
+			if (!$this->isError()) {
+				$this->setError(_('Error updating project information in plugin_hook group_update'));
+			}
 			db_rollback();
 			return false;
 		}




More information about the Fusionforge-commits mailing list