Revision: 1101
http://mrbs.svn.sourceforge.net/mrbs/?rev=1101&view=rev
Author: cimorrison
Date: 2009-04-23 09:11:34 +0000 (Thu, 23 Apr 2009)
Log Message:
-----------
Fix to avoid an undefined variable notice when creating the initial user.
Modified Paths:
--------------
mrbs/trunk/web/edit_users.php
Modified: mrbs/trunk/web/edit_users.php
===================================================================
--- mrbs/trunk/web/edit_users.php 2009-04-22 16:09:51 UTC (rev 1100)
+++ mrbs/trunk/web/edit_users.php 2009-04-23 09:11:34 UTC (rev 1101)
@@ -179,7 +179,7 @@
}
}
else
-// We've just created the table. Assume the person doing this IS the
administrator
+// We've just created the table. Assume the person doing this IS an
administrator
// and then send them through to the screen to add the first user (which we'll
force
// to be an admin)
{
@@ -190,6 +190,7 @@
$Id = -1;
}
$level = $max_level;
+ $user = ""; // to avoid an undefined variable notice
}
/*---------------------------------------------------------------------------*\
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits