imagedata not set correctly if large photo AND imagick is not installed
This commit is contained in:
parent
1159dd59ed
commit
fae9c23637
@ -75,6 +75,9 @@ function photo_upload($channel, $observer, $args) {
|
||||
$imagedata = @file_get_contents($tmp_name);
|
||||
@unlink($tmp_name);
|
||||
}
|
||||
else {
|
||||
$imagedata = @file_get_contents($args['os_syspath']);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$imagedata = @file_get_contents($args['os_syspath']);
|
||||
|
Reference in New Issue
Block a user