$tpl->assign('is_fav', $entry[0]['is_fav']);
$tpl->assign('is_read', $entry[0]['is_read']);
$tpl->assign('load_all_js', 0);
- $tpl->assign('token', $_SESSION['token_poche']);
$tpl->draw('view');
}
else {
- die('error in view call');
+ logm('error in view call : entry is NULL');
}
}
else {
- die('error in view call');
+ logm('error in view call : id is empty');
}
\ No newline at end of file