diff options
author | gweltas <gweltas@piwigo.org> | 2004-01-15 17:06:45 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-01-15 17:06:45 +0000 |
commit | 384ec739f6c11ab82f9a57e9398e954206c7a7ca (patch) | |
tree | 0155d90946660816650d5f5f3031968cc8da6caa /admin/user_list.php | |
parent | 855398f63e4215ed16413a89f781dd2f6cffa231 (diff) |
Correction of php warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@280 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/user_list.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/user_list.php b/admin/user_list.php index 270ea2f4b..2fbf3ccc4 100644 --- a/admin/user_list.php +++ b/admin/user_list.php @@ -109,7 +109,8 @@ else $vtp->addSession( $sub, 'add_user' ); $action = './admin.php?'.$_SERVER['QUERY_STRING']; $vtp->setVar( $sub, 'add_user.form_action', $action ); - $vtp->setVar( $sub, 'add_user.f_username', $_POST['username'] ); + if (isset( $_POST['username'])) + $vtp->setVar( $sub, 'add_user.f_username', $_POST['username'] ); $vtp->closeSession( $sub, 'add_user' ); $vtp->addSession( $sub, 'users' ); |