Project

General

Profile

Fehler #369

function expandTreeToDir( node, dir ) constant 'ext_root' passed instead of '' (empty variable)

Added by Fa. e.stradis GmbH 3 months ago. Updated 24 days ago.

Status:
Neu
Priority:
Niedrig
Category:
Bug
Target version:
eXtplorer Version:
2.1.14
Joomla! Version:
none

Description

This issue was initially posted in github. (At that time I did not know this site yet)
https://github.com/soerennb/extplorer/issues/15

On some rare occasions - we don't know why - function chdir passes the constant 'ext_root' for the root directory instead of an empty variable. This constant is then not recognized and chdir does not take place.

A workaround is available by changing line 76 in the file scripts/functions.js.php

original:

if( dirs[0] == '' ) { dirs.shift(); }

modified:

if( dirs[0] == '' || dirs[0] == 'ext_root') { dirs.shift(); }

Hope this helps!

Best regards,
Michael S.
(Team-Infrastructure)

Also available in: Atom PDF