Fixed typo in variable name

This commit is contained in:
Gabriel Bull 2014-03-17 06:22:17 -04:00
parent fca9e532cf
commit 78d718a5b1
2 changed files with 6 additions and 3 deletions

View File

@ -102,12 +102,12 @@ class PHPWord_Shared_File
* Return the Image Type from a file * Return the Image Type from a file
* *
* @param string $filename * @param string $filename
* @param bool $userFallbackFunction * @param bool $useFallbackFunction
* @return int|bool * @return int|bool
*/ */
public static function imagetype($filename, $userFallbackFunction = false) public static function imagetype($filename, $useFallbackFunction = false)
{ {
if ($userFallbackFunction || !function_exists('exif_imagetype')) { if ($useFallbackFunction || !function_exists('exif_imagetype')) {
return self::fallbackImagetype($filename); return self::fallbackImagetype($filename);
} }

View File

@ -22,6 +22,9 @@
* @version ##VERSION##, ##DATE## * @version ##VERSION##, ##DATE##
************************************************************************************** **************************************************************************************
Changes in branch for release 0.9.0 :
- QA: (Progi1984) - Documentation
Changes in branch for release 0.8.1 : Changes in branch for release 0.8.1 :
- Feature: (bskrtich, gabrielbull) - Added fallback for computers that do not have exif_imagetype - Feature: (bskrtich, gabrielbull) - Added fallback for computers that do not have exif_imagetype