Browse Source

fixy

pull/82/head
Aaron Parecki 8 years ago
parent
commit
0efdc08f41
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      controllers/controllers.php

2
controllers/controllers.php

@ -443,7 +443,7 @@ $app->post('/favorite', function() use($app) {
$error = false; $error = false;
if(isset($params['edit'])) {
if(isset($params['edit']) && $params['edit']) {
$r = edit_favorite($user, $params['edit'], $params['like_of']); $r = edit_favorite($user, $params['edit'], $params['like_of']);
if(isset($r['location']) && $r['location']) if(isset($r['location']) && $r['location'])
$location = $r['location']; $location = $r['location'];

Loading…
Cancel
Save