From 67c087c30fd50e60383de712263bb948975a9a33 Mon Sep 17 00:00:00 2001 From: jgen Date: Thu, 24 Apr 2014 04:30:58 -0400 Subject: [PATCH] From stack-overflow: The 'var' keyword is for declaring class variables in PHP4. It works in PHP5 but can raise an E_STRICT warning in from version 5.0.0 up to version 5.1.2, as it has been deprecated. Changing to public as that is really what these variables are anyways. --- core/imageboard.pack.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index 899855d4..bafe738b 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -36,14 +36,14 @@ require_once "lib/flexihash.php"; * sound file, or any other supported upload type. */ class Image { - var $id = null; - var $height, $width; - var $hash, $filesize; - var $filename, $ext; - var $owner_ip; - var $posted; - var $source; - var $locked; + public $id = null; + public $height, $width; + public $hash, $filesize; + public $filename, $ext; + public $owner_ip; + public $posted; + public $source; + public $locked; /** * One will very rarely construct an image directly, more common