]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagrm.php
Source format mod/notifications
[friendica.git] / mod / tagrm.php
index 260a5ce7f7e9ed6eec72c70be2b89bda2421c135..db0b765799ba7ab9582e9e1b9b4ac2cf9f450be3 100644 (file)
@@ -24,7 +24,7 @@ function tagrm_post(App $a)
        $item_id = (x($_POST,'item') ? intval($_POST['item'])               : 0);
 
        $item = Item::selectFirst(['tag'], ['id' => $item_id, 'uid' => local_user()]);
-       if (!DBA::is_result($item)) {
+       if (!DBA::isResult($item)) {
                goaway(System::baseUrl() . '/' . $_SESSION['photo_return']);
        }
 
@@ -64,7 +64,7 @@ function tagrm_content(App $a)
        }
 
        $item = Item::selectFirst(['tag'], ['id' => $item_id, 'uid' => local_user()]);
-       if (!DBA::is_result($item)) {
+       if (!DBA::isResult($item)) {
                goaway(System::baseUrl() . '/' . $_SESSION['photo_return']);
        }