fixed incorrect test. $adm_id was getting value of fileowner && function_exists