issue 207, fixed a bug for delete widget`s content when save a page

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9427 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-09-29 06:52:09 +00:00
parent 9c78242bcd
commit 82d28676bf
2 changed files with 4 additions and 3 deletions

View file

@ -96,7 +96,7 @@
function putDocumentsInPageToArray($target, &$array)
{
if(!$target) return;
preg_match_all('!<img src="./common/img/widget_bg.jpg" ([^>]+)!is', $target, $matches);
preg_match_all('!<img hasContent="true" ([^>]+)!is', $target, $matches);
$pattern = '!document_srl="(\d+)"!';
foreach($matches[1] as $match)
{