Project

General

Profile

« Previous | Next » 

Revision 967

Added by Matthias over 15 years ago

Fixed MenuLink timeout with many large wysiwyg-pages (ticket #710)

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
17-Apr-2009 Matthias Gallas
15
#	Fixed MenuLink timeout with many large wysiwyg-pages (ticket #710)
15 16
!	Updated again Norsk language File (Thanks to oeh)
16 17
!	Updated Dutch language file (Zhanks to Luckyluke)
17 18
13-Apr-2009 Matthias Gallas
trunk/wb/modules/menu_link/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