X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fattach.php;h=6dd9135e511d9d2f00243512723bfe8d000780ad;hb=3359f3f5c7ecc4b6a34c4fcfc095ab4dd5fab0f1;hp=3b1fc0ec82514fe0111e0ad50342810d37696d31;hpb=b580c238445100e95b2b43343a82d0e5f7a14630;p=friendica.git diff --git a/mod/attach.php b/mod/attach.php index 3b1fc0ec82..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(App &$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(App &$a) { dbesc($item_id) ); - if (! dbm::is_result($r)) { + if (! DBM::is_result($r)) { notice( t('Permission denied.') . EOL); return; }