X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagrm.php;h=cf76f621b0760a086f2d6112c55c68fb9173c83f;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=a952b613b16754a3c05b54c2b9c00ced11072f0d;hpb=5adfeb0bd5fed2f793332056c03bb7c043d5fc69;p=friendica.git diff --git a/mod/tagrm.php b/mod/tagrm.php index a952b613b1..cf76f621b0 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -2,6 +2,7 @@ use Friendica\App; use Friendica\Core\System; +use Friendica\Database\DBM; require_once('include/bbcode.php'); @@ -23,7 +24,7 @@ function tagrm_post(App $a) { intval(local_user()) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { goaway(System::baseUrl() . '/' . $_SESSION['photo_return']); } @@ -72,7 +73,7 @@ function tagrm_content(App $a) { intval(local_user()) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { goaway(System::baseUrl() . '/' . $_SESSION['photo_return']); }