Index: trunk/kernel/include/portaluser.php =================================================================== diff -u -N -r3983 -r4077 --- trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 3983) +++ trunk/kernel/include/portaluser.php (.../portaluser.php) (revision 4077) @@ -14,6 +14,7 @@ $this->clsItem(); $this->tablename=GetTablePrefix()."PortalUser"; $this->type=6; + $this->Prefix = 'u'; $this->BasePermission="USER"; $this->id_field = "PortalUserId"; $this->TagPrefix="user"; @@ -769,6 +770,7 @@ function clsUserManager() { $this->clsItemCollection(); // clsItemList() // need to use this, but double limit clause being created (normal+default 0,100) + $this->Prefix = 'u'; $this->classname = "clsPortalUser"; $this->SetTable('live', GetTablePrefix().'PortalUser'); $this->Page = isset($_GET['lpn']) ? $_GET['lpn'] : 1; @@ -1104,7 +1106,9 @@ function CopyFromEditTable($idfield) { global $objSession; - $GLOBALS['_CopyFromEditTable']=1; + + $this->Application->SetVar('u_mode', ''); + $GLOBALS['_CopyFromEditTable']=1; $edit_table = $objSession->GetEditTable($this->SourceTable); $sql = "SELECT * FROM $edit_table";