X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fattach.php;h=6dd9135e511d9d2f00243512723bfe8d000780ad;hb=f22fe7118d52251dbd0898279ef078b797885ec4;hp=3b1fc0ec82514fe0111e0ad50342810d37696d31;hpb=a020086128e3d903a030cc3b3d403ab9bce02d88;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; }