This commit is contained in:
2022-05-21 13:33:58 -04:00
parent b6f4adf046
commit 3b5eac3d52
2 changed files with 7 additions and 8 deletions
-7
View File
@@ -946,17 +946,10 @@ echo $this->getMarketInterestMessage( $in['offer_code'], $out['client_id'] );
$mybalance = 0;
$data['job_message'] = '';
// print_r($_SESSION);
$job_detail = NULL;
$country = 'NG';
// $timeline_days = NULL;
$submit = NULL;
$country_job ='NG';
$amountArray = [];
for ($i = 2000; $i <= 10000; $i = $i + 1000) {
+7 -1
View File
@@ -187,7 +187,13 @@ class Job_model extends CI_Model {
$in['member_id'] = $_SESSION['member_id'];
*/
$ret = false;
if (trim($data['title']) != '' && trim($data['description']) != '' && trim($data['timeline_days']) != '' && trim($data['price']) != '' && trim($data['member_id']) > 0) {
if (trim($data['title']) != ''
&& trim($data['description']) != ''
&& trim($data['timeline_days']) != ''
&& $data['timeline_days'] > 0
&& trim($data['price']) != ''
&& $data['price']*100 > 0
&& trim($data['member_id']) > 0) {
$ret = true;
}
return $ret;