<?php
$fa_asset = new fa_asset();

if (!empty($_GET["fa_asset_id"]) && (!is_array($_GET["fa_asset_id"]))) {
 $fa_asset_id = $_GET["fa_asset_id"];
 $fa_asset->findBy_id($fa_asset_id);
 $fa_asset_source_object = fa_asset_source::find_by_parent_id($fa_asset_id);
}

if(empty($fa_asset_source_object)){
 $fa_asset_source_object = [new fa_asset_source()];
}
?>
