Browse Source

Fixed a PHP syntax error with arrays (#160)

Tobias Reich 10 years ago
parent
commit
ba778998dd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      php/modules/Photo.php

+ 4 - 4
php/modules/Photo.php

@@ -14,17 +14,17 @@ class Photo extends Module {
 	private $settings	= null;
 	private $photoIDs	= null;
 
-	private $allowedTypes = [
+	private $allowedTypes = array(
 		IMAGETYPE_JPEG,
 		IMAGETYPE_GIF,
 		IMAGETYPE_PNG
-	];
-	private $validExtensions = [
+	);
+	private $validExtensions = array(
 		'.jpg',
 		'.jpeg',
 		'.png',
 		'.gif'
-	];
+	);
 
 	public function __construct($database, $plugins, $settings, $photoIDs) {