Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1879)
+++ branches/2.8.x/CHANGELOG	(revision 1880)
@@ -11,6 +11,9 @@
 ! = Update/Change
 ===============================================================================
 
+
+05 Mar-2013 Build 1880 Dietmar Woellbrink (Luisehahne)
+# bugfix missing slash in class m_news_Reorg
 05 Mar-2013 Build 1879 Werner v.d.Decken(DarkViper)
 # protect magic setter to fix security issue in WbAdapter
 05 Mar-2013 Build 1878 Werner v.d.Decken(DarkViper)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1879)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1880)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1879');
+if(!defined('REVISION')) define('REVISION', '1880');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/news/Reorg.php
===================================================================
--- branches/2.8.x/wb/modules/news/Reorg.php	(revision 1879)
+++ branches/2.8.x/wb/modules/news/Reorg.php	(revision 1880)
@@ -34,7 +34,9 @@
 
 class m_news_Reorg {
 
-	private $_oReg = array();
+	protected $_oReg = null;
+	protected $_sPagesDir = '';
+
 /**
  * Execute reorganisation
  * @return string all occured messages 
@@ -42,11 +44,12 @@
 	public function execute() 
 	{
 		$sOutput = null;
+		$this->_oReg = null;
 		if(class_exists('WbAdaptor')) {
 			$this->_oReg = WbAdaptor::getInstance();
 			$sTmp = trim($this->_oReg->PagesDir, '/');
-			$sTmp = ($sTmp == '' ? '' : '/'.$sTmp);
-			$this->_oReg->PagesDir =$sTmp;
+			$sTmp = ($sTmp == '' ? '' : $sTmp);
+			$this->_sPagesDir = $sTmp;
 			$sOutput = $this->createAccessFiles();
 		}
 		// add here the requests for additional reorg methods
@@ -66,8 +69,8 @@
 		if(($oPosts = WbDatabase::getInstance()->query($sql))) {
 			while($aPost = $oPosts->fetchRow(MYSQL_ASSOC))
 			{
-				$sAccessFile = $this->_oReg->AppPath.$this->_oReg->PagesDir
-				               . trim(str_replace('\\', '/', $aPost['link']), '/')
+				$sAccessFile = $this->_oReg->AppPath.$this->_sPagesDir
+				               . rtrim(str_replace('\\', '/', $aPost['link']), '/')
 				               . $this->_oReg->PageExtension;
 				$aOptionalCommand = array(
 					'$section_id   = '.$aPost['section_id'].';',
@@ -74,6 +77,7 @@
 					'$post_section = '.$aPost['section_id'].';',
 					'$post_id      = '.$aPost['post_id'].';'
 				);
+
 				if(create_access_file($sAccessFile, $aPost['page_id'], 0, $aOptionalCommand)){
 					$count++;	
 				} else {
