get_results($request); if(count($fuposts)>1){ # more than one post => something went wrong return '0'; }else{ return $fuposts[0]->ID; } } ?>