mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
[VD:OneDrive] fix notice error in _dimensions()
This commit is contained in:
@@ -1467,7 +1467,7 @@ class elFinderVolumeOneDrive extends elFinderVolumeDriver
|
||||
}
|
||||
$raw = $this->_od_query($itemId, true, false, $options);
|
||||
|
||||
if ($raw && $img = $raw->image) {
|
||||
if ($raw && property_exists($raw, 'image') && $img = $raw->image) {
|
||||
if (isset($img->width) && isset($img->height)) {
|
||||
$ret = array('dim' => $img->width . 'x' . $img->height);
|
||||
if ($tmbSize) {
|
||||
|
||||
Reference in New Issue
Block a user