Index: trunk/admin/addreview_direct.php
===================================================================
diff -u -r983 -r2536
--- trunk/admin/addreview_direct.php	(.../addreview_direct.php)	(revision 983)
+++ trunk/admin/addreview_direct.php	(.../addreview_direct.php)	(revision 2536)
@@ -12,7 +12,7 @@
 ##	   result in revocation of the license and support		##
 ##	 privileges along maximum prosecution allowed by law.	##
 ##############################################################
-if(!strlen($pathtoroot))
+if( !(isset($pathtoroot) && $pathtoroot) )
 {
   $path=dirname(realpath(__FILE__));
   if(strlen($path))
@@ -55,7 +55,7 @@
 	  $p = "";
       }
     }
-    if(!strlen($pathtoroot))
+    if( !(isset($pathtoroot) && $pathtoroot) )
       $pathtoroot = ".".$pathchar;
   }
   else