[Mapbender-commits] r2312 - branches/2.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 28 07:36:25 EDT 2008
Author: christoph
Date: 2008-03-28 07:36:25 -0400 (Fri, 28 Mar 2008)
New Revision: 2312
Modified:
branches/2.5/http/php/mod_forgottenPassword.php
Log:
function does not return an array
Modified: branches/2.5/http/php/mod_forgottenPassword.php
===================================================================
--- branches/2.5/http/php/mod_forgottenPassword.php 2008-03-28 11:35:20 UTC (rev 2311)
+++ branches/2.5/http/php/mod_forgottenPassword.php 2008-03-28 11:36:25 UTC (rev 2312)
@@ -66,7 +66,7 @@
if ($_POST["sendnew"]) {
if ($_POST["username"]) {
$id = $admin->getUserIdByUserName($_POST["username"]);
- $user_id = $id[0];
+ $user_id = $id;
if ($user_id) {
$upd=true;
More information about the Mapbender_commits
mailing list