X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ftagrm.php;h=cf76f621b0760a086f2d6112c55c68fb9173c83f;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=a952b613b16754a3c05b54c2b9c00ced11072f0d;hpb=541d6ab8959fe3c069996e230def126c154da34d;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']); }