Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1621)
+++ branches/2.8.x/CHANGELOG	(revision 1622)
@@ -11,6 +11,8 @@
 ! = Update/Change
 ===============================================================================
 
+25 Feb-2012 Build 1622 Werner v.d.Decken(DarkViper)
+# typofix in Droplet [ShowRandomWysiwyg]
 24 Feb-2012 Build 1621 Werner v.d.Decken(DarkViper)
 # Droplet [SectionPiocker] fixed
 + Added new droplets [ShowWysiwyg] and [ShowRandomWysiwyg]
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1621)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1622)
@@ -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', '1621');
+if(!defined('REVISION')) define('REVISION', '1622');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/modules/droplets/example/ShowRandomWysiwyg.php
===================================================================
--- branches/2.8.x/wb/modules/droplets/example/ShowRandomWysiwyg.php	(revision 1621)
+++ branches/2.8.x/wb/modules/droplets/example/ShowRandomWysiwyg.php	(revision 1622)
@@ -3,17 +3,15 @@
 global $database;
 	$content = '';
 	if (isset($section)) {
-		if( preg_match('/^[0-9]+(?:\s*\[\,\|\-\;\:\+\#\/]\s*[0-9]+\s*)*$/', $section)) {
+		if( preg_match('/^[0-9]+(?:\s*[\,\|\-\;\:\+\#\/]\s*[0-9]+\s*)*$/', $section)) {
 			if (is_readable(WB_PATH.'/modules/wysiwyg/view.php')) {
 			// if valid arguments given and module wysiwyg is installed
-				$iOldSectionId = intval($section_id); // save old SectionId
 				// split and sanitize arguments
 				$aSections = preg_split('/[\s\,\|\-\;\:\+\#\/]+/', $section);
-				$section_id = $sections[array_rand($sections)]; // get random element
+				$section_id = $aSections[array_rand($aSections)]; // get random element
 				ob_start(); // generate output by wysiwyg module
 				require(WB_PATH.'/modules/wysiwyg/view.php');
 				$content = ob_get_clean();
-				$section_id = $ioldSectionId; // restore old SectionId
 			}
 		}
 	}
