Declaring empty arrays

This commit is contained in:
rootcoma 2013-12-04 20:08:18 -08:00
parent b32f126500
commit f64d7401b1
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,6 @@ require_once('includes/autoload.php');
$storage = $container->getStorage();
$values = array();
$username = '';
$usernameCanonical = '';
@ -111,6 +109,8 @@ if ($username != '') {
$storage->close();
}
$values = array();
$values['userProfile'] = $userProfile;
$values['username'] = $username;
$values['usernameCanonical'] = $usernameCanonical;

View File

@ -45,6 +45,7 @@ if(count($users) == 1) {
die();
}
$values = array();
$values['username'] = $username;
$values['usernameCanonical'] = $usernameCanonical;
$values['page'] = $page;