Changeset 2488
- Timestamp:
- 07/20/10 11:52:56 (13 years ago)
- Location:
- plugins/comListe
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/comListe/CHANGELOG
r2487 r2488 1 comListe 0.1.8 - 2009-07-20 2 =========================================================== 3 * correction sur le calcul du nombre de commentaires 4 1 5 comListe 0.1.7 - 2009-07-20 2 6 =========================================================== -
plugins/comListe/_define.php
r2487 r2488 17 17 /* Description*/ "Plugin for printing comments list", 18 18 /* Author */ "Benoit de Marne", 19 /* Version */ '0.1. 7',19 /* Version */ '0.1.8', 20 20 /* Permissions */ 'admin' 21 21 ); -
plugins/comListe/inc/class.dc.comListe.php
r2487 r2488 93 93 94 94 if(empty($params)) { 95 $params=''; 96 } 97 $_ctx->pagination = $core->blog->getComments($params,true); unset($params); 95 $_ctx->pagination = $core->blog->getComments(null,true); 96 } else { 97 $_ctx->pagination = $core->blog->getComments($params,true); 98 unset($params); 99 } 100 98 101 if ($_ctx->exists("pagination")) { 99 102 $nb_comments = $_ctx->pagination->f(0); … … 226 229 } 227 230 228 if(empty($params)) { 229 $params=\'\'; 230 } 231 232 $_ctx->pagination = $core->blog->getComments($params,true); unset($params); 231 if(empty($params)) { 232 $_ctx->pagination = $core->blog->getComments(null,true); 233 } else { 234 $_ctx->pagination = $core->blog->getComments($params,true); 235 unset($params); 236 } 237 233 238 if ($_ctx->exists("pagination")) { 234 239 $nb_comments = $_ctx->pagination->f(0);
Note: See TracChangeset
for help on using the changeset viewer.