[Gnucash-changes] r14311 - htdocs/trunk/news - php4 compat.
Joshua Sled
jsled at cvs.gnucash.org
Sat Jun 3 18:36:51 EDT 2006
Author: jsled
Date: 2006-06-03 18:36:50 -0400 (Sat, 03 Jun 2006)
New Revision: 14311
Trac: http://svn.gnucash.org/trac/changeset/14311
Modified:
htdocs/trunk/news/news-script.php
Log:
php4 compat.
Modified: htdocs/trunk/news/news-script.php
===================================================================
--- htdocs/trunk/news/news-script.php 2006-06-03 22:31:42 UTC (rev 14310)
+++ htdocs/trunk/news/news-script.php 2006-06-03 22:36:50 UTC (rev 14311)
@@ -110,11 +110,11 @@
$newsfiles = get_news($en_newspath, $lang_newspath);
if ($oldnews)
{
- $newsfile = array_slice($newsfiles, $cutoff, -1, true);
+ $newsfile = array_slice($newsfiles, $cutoff, -1);
}
else
{
- $newsfile = array_slice($newsfiles, 0, $cutoff, true);
+ $newsfile = array_slice($newsfiles, 0, $cutoff);
}
// Output files to browser
$filecount = 0;
More information about the gnucash-changes
mailing list