diff options
author | Aaron Parecki <aaron@parecki.com> | 2017-02-27 12:46:50 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2017-02-27 12:46:50 -0800 |
commit | 0efdc08f41aa4e5e06136c60e4a031d83b3452f7 (patch) | |
tree | 5982056b8b7b0408a2e318bb95df3540f4bec6e3 /controllers | |
parent | 793199ad4efd02f3e95e7fbb0f5af6ee7833b844 (diff) |
fixy
Diffstat (limited to 'controllers')
-rw-r--r-- | controllers/controllers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php index 90c229a..2491081 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -443,7 +443,7 @@ $app->post('/favorite', function() use($app) { $error = false; - if(isset($params['edit'])) { + if(isset($params['edit']) && $params['edit']) { $r = edit_favorite($user, $params['edit'], $params['like_of']); if(isset($r['location']) && $r['location']) $location = $r['location']; |