Fix #590 Creating default object in member.model.php

This commit is contained in:
Kijin Sung 2016-09-23 16:54:44 +09:00
parent 3bb513e6b0
commit 6dd776bd15

View file

@ -976,6 +976,7 @@ class memberModel extends member
if(file_exists($image_mark_file))
{
list($width, $height, $type, $attrs) = getimagesize($image_mark_file);
$info = new stdClass;
$info->width = $width;
$info->height = $height;
$info->src = Context::getRequestUri().$image_mark_file . '?' . date('YmdHis', filemtime($image_mark_file));