mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 00:53:04 +02:00
fix: remove all php warnings and notices
git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ if ( !empty($_GET['redirect']) )
|
||||
|
||||
if (isset($_POST['login']))
|
||||
{
|
||||
$redirect_to = $_POST['redirect'];
|
||||
$redirect_to = isset($_POST['redirect']) ? $_POST['redirect'] : '';
|
||||
$username = mysql_escape_string($_POST['username']);
|
||||
// retrieving the encrypted password of the login submitted
|
||||
$query = '
|
||||
|
||||
Reference in New Issue
Block a user