Changeset 4307

Show
Ignore:
Timestamp:
07/05/07 22:50:18 (1 year ago)
Author:
gregmac
Message:

Fix #1982

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php

    r4299 r4307  
    14441444                                switch ($type) { 
    14451445                                        case 'version': 
    1446                                                 if (preg_match('/^(lt|le|gt|ge|==|=|eq|!=|ne)?\s*(\d+(\.[^\.]+)*)$/i', $value, $matches)) { 
     1446                                                if (preg_match('/^(lt|le|gt|ge|==|=|eq|!=|ne)?\s*(\d*[beta|alpha|rc]?\d+(\.[^\.]+)*)$/i', $value, $matches)) { 
    14471447                                                        // matches[1] = operator, [2] = version 
    14481448                                                        $ver = getversion(); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads