diff --git a/etemplate/inc/class.tree_widget.inc.php b/etemplate/inc/class.tree_widget.inc.php index 6c0959a53f..c6976fbb08 100644 --- a/etemplate/inc/class.tree_widget.inc.php +++ b/etemplate/inc/class.tree_widget.inc.php @@ -208,7 +208,7 @@ class tree_widget } else { - $parts = explode('/',$path); + $parts = explode('/',$value); $value = array_pop($parts); } }