Changeset 4322

Show
Ignore:
Timestamp:
07/07/07 11:38:57 (6 years ago)
Author:
p_lindheimer
Message:

add RC in addition to rc as possible version numbering

Files:

Legend:

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

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