[Mapbender-commits] r2311 - branches/2.4.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 28 07:35:20 EDT 2008
Author: christoph
Date: 2008-03-28 07:35:20 -0400 (Fri, 28 Mar 2008)
New Revision: 2311
Modified:
branches/2.4.5/http/php/mod_forgottenPassword.php
Log:
function does not return an array
Modified: branches/2.4.5/http/php/mod_forgottenPassword.php
===================================================================
--- branches/2.4.5/http/php/mod_forgottenPassword.php 2008-03-28 11:18:21 UTC (rev 2310)
+++ branches/2.4.5/http/php/mod_forgottenPassword.php 2008-03-28 11:35:20 UTC (rev 2311)
@@ -70,7 +70,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