Changeset 285


Ignore:
Timestamp:
12/17/09 12:58:52 (10 years ago)
Author:
sander
Message:

Properly extract ODFToolkit errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/models/validator.php

    r284 r285  
    286286                } elseif (strpos($this->response, 'This file is NOT valid') !== false) { 
    287287                        $this->state = Validator::STATE_INVALID; 
    288                         preg_match('#<pre>(.*)</pre>#', $this->response, $match); 
     288                        preg_match('#<pre>(.*)</pre>#s', $this->response, $match); 
    289289                        if (isset($match[1])) { 
    290290                                $this->response = $match[1]; 
Note: See TracChangeset for help on using the changeset viewer.