mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
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:
parent
9c78242bcd
commit
82d28676bf
2 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue