diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-11 15:15:06 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-11 15:15:06 +0100 |
commit | f170f315941b461a2bcd85843583baedbc48efd2 (patch) | |
tree | 673b02fc2cd39dc3b2ed7184dc37509e5255b541 /src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |
parent | 874e3e10a45a5b3c662bac1112bbdc1acb0adb95 (diff) | |
download | wallabag-f170f315941b461a2bcd85843583baedbc48efd2.tar.gz wallabag-f170f315941b461a2bcd85843583baedbc48efd2.tar.zst wallabag-f170f315941b461a2bcd85843583baedbc48efd2.zip |
add test for empty salt
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/WallabagRestController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index 3cfb8a77..e9cd8c93 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |||
@@ -33,7 +33,7 @@ class WallabagRestController extends Controller | |||
33 | throw $this->createNotFoundException(); | 33 | throw $this->createNotFoundException(); |
34 | } | 34 | } |
35 | 35 | ||
36 | return array($user->getSalt()); | 36 | return array($user->getSalt() ?: null); |
37 | } | 37 | } |
38 | /** | 38 | /** |
39 | * Retrieve all entries. It could be filtered by many options. | 39 | * Retrieve all entries. It could be filtered by many options. |