fixing int() should be (int) in file storage

This commit is contained in:
mjollnir_
2008-09-16 15:56:19 +00:00
parent 276378e6b0
commit 8bd49ec01f
+1 -1
View File
@@ -710,7 +710,7 @@ class file_storage {
break;
case 'image/png':
$quality = int($quality);
$quality = (int)$quality;
imagepng($img, NULL, $quality, NULL);
break;