From 8352275069f3aa94dbdcaea8662ae21130d6038d Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 6 Jun 2009 17:03:26 +0000 Subject: [PATCH] Bugtracker #4747 - typo in news column count --- e107_files/shortcode/news_categories.sc | 4 ++-- e107_plugins/other_news_menu/other_news2_menu.php | 8 ++++---- e107_plugins/other_news_menu/other_news_menu.php | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/e107_files/shortcode/news_categories.sc b/e107_files/shortcode/news_categories.sc index 68952a3e5..eca1b87c9 100644 --- a/e107_files/shortcode/news_categories.sc +++ b/e107_files/shortcode/news_categories.sc @@ -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 .= " \n"; - $text3 .= (($t+1) % nbr_cols == 0) ? "" : ""; + $text3 .= (($t+1) % $nbr_cols == 0) ? "" : ""; $t++; } diff --git a/e107_plugins/other_news_menu/other_news2_menu.php b/e107_plugins/other_news_menu/other_news2_menu.php index 21dd557b1..ddfd93fb1 100644 --- a/e107_plugins/other_news_menu/other_news2_menu.php +++ b/e107_plugins/other_news_menu/other_news2_menu.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/other_news_menu/other_news2_menu.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:35:32 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2009-06-06 17:03:25 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -117,7 +117,7 @@ if ($sql->db_Select_gen($query)) { while ($t % $nbr_cols != 0){ $text .= " \n"; - $text .= (($t+1) % nbr_cols == 0) ? "" : ""; + $text .= (($t+1) % $nbr_cols == 0) ? "" : ""; $t++; } diff --git a/e107_plugins/other_news_menu/other_news_menu.php b/e107_plugins/other_news_menu/other_news_menu.php index d4eb66557..903e32ce3 100644 --- a/e107_plugins/other_news_menu/other_news_menu.php +++ b/e107_plugins/other_news_menu/other_news_menu.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/other_news_menu/other_news_menu.php,v $ -| $Revision: 1.1.1.1 $ -| $Date: 2006-12-02 04:35:32 $ -| $Author: mcfly_e107 $ +| $Revision: 1.2 $ +| $Date: 2009-06-06 17:03:26 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -114,7 +114,7 @@ if ($sql->db_Select_gen($query)){ while ($t % $nbr_cols != 0){ $text .= " \n"; - $text .= (($t+1) % nbr_cols == 0) ? "" : ""; + $text .= (($t+1) % $nbr_cols == 0) ? "" : ""; $t++; }