diff --git a/gulliver/system/class.publisher.php b/gulliver/system/class.publisher.php index f8b0c3aa0..def8a217f 100755 --- a/gulliver/system/class.publisher.php +++ b/gulliver/system/class.publisher.php @@ -69,6 +69,7 @@ class Publisher if ($mode != '') { $this->localMode = $mode; } + $pos = 0; if (is_array( $this->Parts )) { $pos = count( $this->Parts ); @@ -89,6 +90,7 @@ class Publisher $this->Parts[$pos]['RenderedContent'] = ob_get_contents(); } ob_end_clean(); + unset($_SESSION['CURRENT_DYN_UID']); } /**