Skip to content

Commit

Permalink
fix call_user_func call
Browse files Browse the repository at this point in the history
  • Loading branch information
dio-el-claire committed Feb 27, 2013
1 parent d2bd54b commit c4717c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,8 @@ protected function allowCreate($dir, $name) {
$perm = null;

if ($this->access) {
$perm = call_user_func('write', $path, $this->options['accessControlData'], $this);
// echo $this->access;
$perm = call_user_func($this->access, 'write', $path, $this->options['accessControlData'], $this);
if ($perm !== null) {
return !!$perm;
}
Expand Down

0 comments on commit c4717c4

Please sign in to comment.