aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-24 01:16:30 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-24 01:16:30 +0000
commit3aff4f0bfec650d7a080b919b299ddcf6fc6ee59 (patch)
tree6bebc39a9de733910e32b117d82944bde033c214 /identification.php
parent5fa3664567ad8240154566cce1f8479c4fd93909 (diff)
fix: remove all php warnings and notices
git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'identification.php')
-rw-r--r--identification.php2
1 files changed, 1 insertions, 1 deletions
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 = '