| @@ -84,9 +84,9 @@ | ||
| 84 | 84 | * @return boolean True on success. |
| 85 | 85 | */ |
| 86 | 86 | public static function write($file, $buffer) |
| 87 | 87 | { |
| 88 | - @set_time_limit(ini_get('max_execution_time')); | |
| 88 | + @set_time_limit((int) ini_get('max_execution_time')); | |
| 89 | 89 | |
| 90 | 90 | $file = JPath::clean($file); |
| 91 | 91 | |
| 92 | 92 | // If the destination directory doesn't exist we need to create it |