Skip to content

Commit

Permalink
[PHP:core] fix notice error of `optionsNetVolumes
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Jul 13, 2016
1 parent b329043 commit 04a2a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/elFinder.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ public function __construct($opts) {
elFinder::$commonTempPath = '';
}
$this->maxArcFilesSize = isset($opts['maxArcFilesSize'])? intval($opts['maxArcFilesSize']) : 0;
$this->optionsNetVolumes = is_array($opts['optionsNetVolumes'])? $opts['optionsNetVolumes'] : array();
$this->optionsNetVolumes = (isset($opts['optionsNetVolumes']) && is_array($opts['optionsNetVolumes']))? $opts['optionsNetVolumes'] : array();

// deprecated settings
$this->netVolumesSessionKey = !empty($opts['netVolumesSessionKey'])? $opts['netVolumesSessionKey'] : 'elFinderNetVolumes';
Expand Down

0 comments on commit 04a2a8f

Please sign in to comment.