user_guid; $uid = get_loggedin_user()->getGUID(); if ( $resOwner == $uid ) { update_data("UPDATE {$CONFIG->dbprefix}koolielu_waramu_queue SET status=0 WHERE waramu_id='$rid'"); forward($CONFIG->wwwroot.'pg/waramu/view/'.$rid); } else { /*translation:You cannot resubmit this resource!*/ system_messages(elgg_echo("koolielu:cannot_resubmit"), "errors"); forward($CONFIG->wwwroot.'pg/waramu/view/'.$rid); } ?>