Changeset - 63ff4e5ba0ec
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 13 years ago 2012-12-11 02:15:13
ohnobinki@ohnopublishing.net
Relax pagination-parsing regex so that it doesn’t care between CRLF and LF, prerequisite for fixing bug #146 (cornerstone support).
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
inc/school.crawl.webadvisor.inc
Show inline comments
 
@@ -615,7 +615,7 @@ function school_crawl_webadvisor_semeste
 
	    }
 
	}
 

	
 
      if (!preg_match(';Page ([0-9]+) of ([0-9]+)\</td\>$;m', $html, $pages))
 
      if (!preg_match(';Page ([0-9]+) of ([0-9]+)\\</td\\>;', $html, $pages))
 
	{
 
	  school_crawl_logf($school_crawl_log, 0, 'Unable to determine the number of pages in this resultset');
 
	  break;
0 comments (0 inline, 0 general)