mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Fix #590 Creating default object in member.model.php
This commit is contained in:
parent
3bb513e6b0
commit
6dd776bd15
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue