Revision 967
Added by Matthias over 16 years ago
| modify.php | ||
|---|---|---|
| 80 | 80 |
if($section['module'] == 'wysiwyg') {
|
| 81 | 81 |
if($query_page = $database->query("SELECT content FROM $table_mw WHERE section_id = '{$section['section_id']}' LIMIT 1")) {
|
| 82 | 82 |
$page = $query_page->fetchRow(); |
| 83 |
if(preg_match_all('/<(?:[^>]+id|\s*a[^>]+name)\s*=\s*"(.*)"/iuU',$page['content'], $match)) {
|
|
| 83 |
if(preg_match_all('/<(?:[^>]+id|\s*a[^>]+name)\s*=\s*"([^"]+)"/i',$page['content'], $match)) {
|
|
| 84 | 84 |
foreach($match[1] AS $t) {
|
| 85 | 85 |
$targets[$pid][] = $t; |
| 86 | 86 |
} |
Also available in: Unified diff
Fixed MenuLink timeout with many large wysiwyg-pages (ticket #710)