diff --git a/e/action/ShowInfo.php b/e/action/ShowInfo.php index 7a8fa7a..2c8cba0 100644 --- a/e/action/ShowInfo.php +++ b/e/action/ShowInfo.php @@ -97,7 +97,7 @@ if($cr['companygroupid']) if(!in_array($usergroupid,explode(",",$cr[companygroupid]))) { - printerror('NotLevelToClass2',"/list/{$classid}-0-0-0-0.html",1); + printerror('NotLevelToClass2',$_SERVER['HTTP_REFERER']?$_SERVER['HTTP_REFERER']:"/",1); } }