// Small fix on HelperUploader

This commit is contained in:
Jerome Nadaud
2013-11-08 16:53:32 +01:00
parent bf67bd56a3
commit 5afe733e13
+1 -1
View File
@@ -90,7 +90,7 @@ class HelperUploaderCore extends Uploader
public function setMaxFiles($value)
{
$this->_max_files = intval($value);
$this->_max_files = isset($value) ? intval($value) : $value;
return $this;
}