[pLog-svn] r3433 - plog/trunk/class/view/admin
mark at devel.lifetype.net
mark at devel.lifetype.net
Thu May 18 10:46:03 GMT 2006
Author: mark
Date: 2006-05-18 10:46:03 +0000 (Thu, 18 May 2006)
New Revision: 3433
Modified:
plog/trunk/class/view/admin/admineditpostview.class.php
Log:
Fixed the bug here: http://bugs.lifetype.net/view.php?id=896
Modified: plog/trunk/class/view/admin/admineditpostview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditpostview.class.php 2006-05-18 10:41:43 UTC (rev 3432)
+++ plog/trunk/class/view/admin/admineditpostview.class.php 2006-05-18 10:46:03 UTC (rev 3433)
@@ -50,8 +50,8 @@
// set information about the post itself into the view
$this->setValue( "postTopic", $this->_article->getTopic());
- $this->setValue( "postText", preg_replace('/&/', '&', $this->_article->getIntroText()));
- $this->setValue( "postExtendedText", preg_replace('/&/','&',$this->_article->getExtendedText()));
+ $this->setValue( "postText", preg_replace('/(&|&)/', '&', $this->_article->getIntroText()));
+ $this->setValue( "postExtendedText", preg_replace('/(&|&)/','&',$this->_article->getExtendedText()));
$this->setValue( "postSlug", $this->_article->getPostSlug());
$this->setValue( "postId", $this->_article->getId());
if( $this->_article->getCommentsEnabled())
More information about the pLog-svn
mailing list