Commit 57d269ad by Jansa Jose

temp

parent 3cd3aa23
...@@ -5209,7 +5209,7 @@ print_r(date('H:i',$ms));exit();*/ ...@@ -5209,7 +5209,7 @@ print_r(date('H:i',$ms));exit();*/
else{ else{
$totalPages = 1; $totalPages = 1;
} }
print_r($result);exit; //print_r($result);exit;
if($result != ''){ if($result != ''){
foreach (array_slice($result,$start,$per_page) as $key => $value) { foreach (array_slice($result,$start,$per_page) as $key => $value) {
$value->read_status = $value->read_status!=0 ? true : false; $value->read_status = $value->read_status!=0 ? true : false;
...@@ -5217,7 +5217,7 @@ print_r(date('H:i',$ms));exit();*/ ...@@ -5217,7 +5217,7 @@ print_r(date('H:i',$ms));exit();*/
} }
} }
if($result != false){ if($result != ''){
$res = array( $res = array(
'status'=>'success', 'status'=>'success',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment