correct access of static methods of MediaController
This commit is contained in:
parent
8ca66d09c7
commit
de82c353d1
1 changed files with 2 additions and 2 deletions
|
|
@ -161,12 +161,12 @@
|
|||
$file = file_get_contents($media['filename']);
|
||||
break;
|
||||
case 'questgroup':
|
||||
if(!in_array(strtoupper($format), static::getImageTypes())) {
|
||||
if(!in_array(strtoupper($format), self::getImageTypes())) {
|
||||
$file = file_get_contents($media['filename']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$file = static::resizeImage(
|
||||
$file = self::resizeImage(
|
||||
$media['filename'],
|
||||
$format,
|
||||
480
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue