From: <var...@us...> - 2016-07-12 08:17:28
|
Revision: 9877 http://sourceforge.net/p/phpwiki/code/9877 Author: vargenau Date: 2016-07-12 08:17:25 +0000 (Tue, 12 Jul 2016) Log Message: ----------- array_merge needs an array Modified Paths: -------------- trunk/lib/plugin/PhotoAlbum.php Modified: trunk/lib/plugin/PhotoAlbum.php =================================================================== --- trunk/lib/plugin/PhotoAlbum.php 2016-07-12 07:20:17 UTC (rev 9876) +++ trunk/lib/plugin/PhotoAlbum.php 2016-07-12 08:17:25 UTC (rev 9877) @@ -205,8 +205,8 @@ // set some fixed properties for each $mode if ($mode == 'thumbs' || $mode == 'tiles') { - $attributes = array_merge($attributes, "alt"); - $attributes = array_merge($attributes, "nowrap"); + $attributes = array_merge($attributes, array('alt' => '')); + $attributes = array_merge($attributes, array('nowrap' => 'nowrap')); $cellwidth = 'auto'; // else cell won't nowrap if ($width == 'auto') $width = 70; } elseif ($mode == 'list') { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |