X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fattach.php;h=6dd9135e511d9d2f00243512723bfe8d000780ad;hb=63622966666729ba82fef8f12484e022500ff867;hp=94cb75a386d2a7f6d7ae7681635a495d8f39d7ad;hpb=98b727029570b96febd0c5046b688cab1a9bb882;p=friendica.git diff --git a/mod/attach.php b/mod/attach.php index 94cb75a386..6dd9135e51 100644 --- a/mod/attach.php +++ b/mod/attach.php @@ -1,8 +1,11 @@ argc != 2) { notice( t('Item not available.') . EOL); @@ -16,7 +19,7 @@ function attach_init(&$a) { $r = q("SELECT * FROM `attach` WHERE `id` = %d LIMIT 1", intval($item_id) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { notice( t('Item was not found.'). EOL); return; } @@ -29,7 +32,7 @@ function attach_init(&$a) { dbesc($item_id) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { notice( t('Permission denied.') . EOL); return; }