Browse Source

fixy

pull/82/head
Aaron Parecki 4 years ago
parent
commit
0efdc08f41
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/controllers.php

+ 1
- 1
controllers/controllers.php View File

@ -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'];

Loading…
Cancel
Save