From 3aff4f0bfec650d7a080b919b299ddcf6fc6ee59 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 24 Feb 2006 01:16:30 +0000 Subject: fix: remove all php warnings and notices git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee --- identification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'identification.php') diff --git a/identification.php b/identification.php index 5cf65b5a2..b53e76a2d 100644 --- a/identification.php +++ b/identification.php @@ -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 = ' -- cgit v1.2.3