php problem
Permalink
Can someone help me understand why $this->getFileID() is throwing an error in the following code? I'm a bit confused
<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
$includeAssetLibrary = true;
$assetLibraryPassThru = array(
'type' => 'image'
);
$al = Loader::helper('concrete/asset_library');
$bf = null;
if ($this->getFileID() > 0) {
$bf = getFileObject();
}
?>