From: flotsam Date: Wed, 29 Jun 2005 09:13:51 +0000 (+0000) Subject: fixed serendipity_traversePath(), thanks to jdhawk for the fix X-Git-Tag: 0.8.2~3 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c5207a5e6e5fbdf33339abe42908fe6404f9c2c8;p=s9y.git fixed serendipity_traversePath(), thanks to jdhawk for the fix --- diff --git a/docs/NEWS b/docs/NEWS index c17e788..57dbca4 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ svn di# $Id$ Version 0.8.2 () ------------------------------------------------------------------------ + * fixed serendipity_traversePath() - PHP5 issue with array_merge() + Thanks to jdhawk for the fix (flotsam) + * CSS does no longer emit cache-restricting headers, so that the stylesheets can be cached by the browser for followup-requests Thanks to Sencer for pointing this out! (garvinhicking) diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 2eea3a3..7890a4d 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -1191,7 +1191,7 @@ function serendipity_traversePath($basedir, $dir='', $onlyDirs=true, $pattern = $dh = @opendir($basedir . '/' . $dir); if ( !$dh ) { - return false; + return array(); } $files = array();