[pLog-svn] r2788 - plog/branches/lifetype-1.0.3/class/dao
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Jan 15 15:45:09 GMT 2006
Author: oscar
Date: 2006-01-15 15:45:09 +0000 (Sun, 15 Jan 2006)
New Revision: 2788
Modified:
plog/branches/lifetype-1.0.3/class/dao/article.class.php
Log:
fixed issue 802 with enclosures (the regexp wasn't catching them all) -- http://bugs.lifetype.net/view.php?id=802
Modified: plog/branches/lifetype-1.0.3/class/dao/article.class.php
===================================================================
--- plog/branches/lifetype-1.0.3/class/dao/article.class.php 2006-01-15 15:10:34 UTC (rev 2787)
+++ plog/branches/lifetype-1.0.3/class/dao/article.class.php 2006-01-15 15:45:09 UTC (rev 2788)
@@ -858,7 +858,7 @@
include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresources.class.php" );
// extract all the "res_XX" values
- $regexp ="/<a.*id=\"res_([0-9]+)\".*>.*<\/a>/im";
+ $regexp ="|<a.*id=\"res_([0-9]+)\".*>.*<\/a>|U";
$resources = Array();
$galleryResources = new GalleryResources();
if( preg_match_all( $regexp, $this->getText(), $out, PREG_SET_ORDER )) {
More information about the pLog-svn
mailing list