Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-chappuis committed Aug 5, 2016
1 parent 58545e2 commit 2c4a03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3035,7 +3035,7 @@ protected function uncrypt($hash) {
* @author Dmitry (dio) Levashov
**/
protected function nameAccepted($name) {
if (!json_encode($name)) {
if (json_encode($name)===false) {
return false;
}
if ($this->nameValidator) {
Expand Down

0 comments on commit 2c4a03e

Please sign in to comment.