[Fusionforge-commits] r6987 - branches/Branch_4_7/gforge/www/account
Roland Mas
lolando at libremir.placard.fr.eu.org
Tue Feb 17 14:20:40 CET 2009
Author: lolando
Date: 2009-02-17 14:20:40 +0100 (Tue, 17 Feb 2009)
New Revision: 6987
Modified:
branches/Branch_4_7/gforge/www/account/unsubscribe.php
Log:
Fixed programming error (patch #6 from Julien Heyman)
Modified: branches/Branch_4_7/gforge/www/account/unsubscribe.php
===================================================================
--- branches/Branch_4_7/gforge/www/account/unsubscribe.php 2009-02-17 13:19:32 UTC (rev 6986)
+++ branches/Branch_4_7/gforge/www/account/unsubscribe.php 2009-02-17 13:20:40 UTC (rev 6987)
@@ -51,10 +51,10 @@
$row_user = db_fetch_array($res_user);
$user =& user_get_object($row_user['user_id'], $res_user);
-if (!$u || !is_object($u)) {
+if (!$user || !is_object($user)) {
exit_error('Error','Could Not Get User');
-} elseif ($u->isError()) {
- exit_error('Error',$u->getErrorMessage());
+} elseif ($user->isError()) {
+ exit_error('Error',$user->getErrorMessage());
}
$all=getStringFromRequest('all');
More information about the Fusionforge-commits
mailing list