Index: trunk/admin/relation_select.php =================================================================== diff -u -r1566 -r2536 --- trunk/admin/relation_select.php (.../relation_select.php) (revision 1566) +++ trunk/admin/relation_select.php (.../relation_select.php) (revision 2536) @@ -49,7 +49,7 @@ $b_header_addon = "
"; //$pathtoroot=""; -if(!strlen($pathtoroot)) +if( !(isset($pathtoroot) && $pathtoroot) ) { $path=dirname(realpath(__FILE__)); if(strlen($path)) @@ -92,7 +92,7 @@ $p = ""; } } - if(!strlen($pathtoroot)) + if( !(isset($pathtoroot) && $pathtoroot) ) $pathtoroot = ".".$pathchar; } else