Declaring empty arrays
This commit is contained in:
parent
b32f126500
commit
f64d7401b1
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ if(count($users) == 1) {
|
|||
die();
|
||||
}
|
||||
|
||||
$values = array();
|
||||
$values['username'] = $username;
|
||||
$values['usernameCanonical'] = $usernameCanonical;
|
||||
$values['page'] = $page;
|
||||
|
|
|
|||
Loading…
Reference in New Issue