Project

General

Profile

Actions

Fehler #369

open

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

Added by Fa. e.stradis GmbH about 3 years ago. Updated about 3 years 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)

No data to display

Actions

Also available in: Atom PDF