fix
This commit is contained in:
@@ -907,15 +907,39 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
|
||||
return $this->job_model->addGroupMemberForm($group_id);
|
||||
}
|
||||
|
||||
private function getJobTemplateFill($template_page){
|
||||
$templateList = $this->jobsTemplates();
|
||||
|
||||
foreach ($templateList as $row){
|
||||
if ( $row['ID'] == trim($template_page)){
|
||||
return $row;
|
||||
}
|
||||
}
|
||||
return [];
|
||||
}
|
||||
public function create() {
|
||||
|
||||
$data = $this->getSessionArray();
|
||||
|
||||
$template_page = ($this->uri->segment(3)) ? $this->uri->segment(3) : '';
|
||||
$preFill = $this->getJobTemplateFill($template_page);
|
||||
if(!empty($preFill))
|
||||
{
|
||||
$title = $preFill['name'];
|
||||
$description = $preFill['description'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = NULL;
|
||||
$description = NULL;
|
||||
}
|
||||
|
||||
|
||||
$mybalance = 0;
|
||||
$data['job_message'] = '';
|
||||
// print_r($_SESSION);
|
||||
|
||||
$title = NULL;
|
||||
$description = NULL;
|
||||
|
||||
$job_detail = NULL;
|
||||
$timeline = NULL;
|
||||
$country = 'NG';
|
||||
|
||||
Reference in New Issue
Block a user