Author: ralfbecker
New Revision: 52203
URL: http://svn.stylite.de/viewvc/egroupware?rev=52203&view=rev
Log:
fix warning
Modified:
trunk/etemplate/thumbnail.php
Modified: trunk/etemplate/thumbnail.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/thumbnail.php?rev=52203&r1=52202&r2=52203&view=diff
— trunk/etemplate/thumbnail.php (original)
+++ trunk/etemplate/thumbnail.php Thu Mar 19 11:52:34 2015
@@ -225,7 +225,7 @@
- TODO: As this is a general purpose function, it might probably be moved
- to some other php file or an “image utils” class.
*/
-function get_scaled_image_size($w, $h, $maxw, $maxh, $minw, $minh)
+function get_scaled_image_size($w, $h, $maxw, $maxh, $minw=0, $minh=0)
{
//Scale will contain the factor by which the image has to be scaled down
$scale = 1.0;
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs