X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fattach.php;h=6dd9135e511d9d2f00243512723bfe8d000780ad;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=274acfc2bed8af1f4e23af00eb267e6fa9925cfd;hpb=e8e1f9253da63a11c813708f5baaeba2d9f537f3;p=friendica.git diff --git a/mod/attach.php b/mod/attach.php index 274acfc2be..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; }