1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Bugtracker #4747 - typo in news column count

This commit is contained in:
e107steved
2009-06-06 17:03:26 +00:00
parent 78135dd78e
commit 8352275069
3 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: news_categories.sc,v 1.3 2008-12-03 12:38:08 secretr Exp $
* $Id: news_categories.sc,v 1.4 2009-06-06 17:03:25 e107steved Exp $
*
* News Categories shortcode
*/
@@ -121,7 +121,7 @@ $nbr_cols = (defined("NEWSCAT_COLS")) ? NEWSCAT_COLS : $nbr_cols;
while ($t % $nbr_cols != 0){
$text3 .= "<td style='".NEWSCAT_CELL.";width:{$wid}%'>&nbsp;</td>\n";
$text3 .= (($t+1) % nbr_cols == 0) ? "</tr>" : "";
$text3 .= (($t+1) % $nbr_cols == 0) ? "</tr>" : "";
$t++;
}