mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix style + undefined var api instead of api_key
This commit is contained in:
parent
f4cb825d16
commit
aaa7eb8061
6 changed files with 19 additions and 15 deletions
|
@ -40,7 +40,7 @@ namespace controllers\internals;
|
|||
'flash' => $flash,
|
||||
];
|
||||
|
||||
if ($id_phone !== null)
|
||||
if (null !== $id_phone)
|
||||
{
|
||||
$internal_phone = new Phone($this->bdd);
|
||||
$find_phone = $internal_phone->get_for_user($id_user, $id_phone);
|
||||
|
@ -131,7 +131,7 @@ namespace controllers\internals;
|
|||
'flash' => $flash,
|
||||
];
|
||||
|
||||
if ($id_phone !== null)
|
||||
if (null !== $id_phone)
|
||||
{
|
||||
$internal_phone = new Phone($this->bdd);
|
||||
$find_phone = $internal_phone->get_for_user($id_user, $id_phone);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue