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.9~368 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b1487df5294580674ebf58a85b8a71274787e982;p=s9y.git fixed serendipity_traversePath(), thanks to jdhawk for the fix --- diff --git a/docs/NEWS b/docs/NEWS index 4cd45f1..5055e42 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 0.9 () ------------------------------------------------------------------------ + * fixed serendipity_traversePath() - PHP5 issue with array_merge() + Thanks to jdhawk for the fix (flotsam) + * fixed wrong display of "found X entries matching your search" in genpage.inc.php (flotsam) @@ -124,6 +127,9 @@ Version 0.9 () 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 a108714..f3018a6 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -1195,7 +1195,7 @@ function serendipity_traversePath($basedir, $dir='', $onlyDirs=true, $pattern = $dh = @opendir($basedir . '/' . $dir); if ( !$dh ) { - return false; + return array(); } $files = array();