intererst debug
This commit is contained in:
@@ -414,6 +414,7 @@ class ResultFormatter extends Model
|
||||
for ($i = 0; $i < $total; $i++) {
|
||||
$key = sprintf("%05d", $i);
|
||||
$int_c = 'interest_count_'.$out["offer_code_${key}"];
|
||||
log_message('critical', "interest_count_ ::: ".$int_c);
|
||||
$cateG = $out["category_${key}"];
|
||||
$res["result_list"][] = array(
|
||||
"title" => $out["title_${key}"],
|
||||
@@ -435,7 +436,7 @@ class ResultFormatter extends Model
|
||||
'job_country' => $out["job_country_${key}"],
|
||||
'currency' => $out["currency_${key}"],
|
||||
'currency_code' => $out["currency_code_${key}"],
|
||||
'interest_count' => $out["${$int_c}"] ?? 0,
|
||||
'interest_count' => $out[$int_c] ?? 0,
|
||||
'category' => $this->dummyGetCategory( $cateG )
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user