Ignore:
Timestamp:
Jan 9, 2014, 10:22:13 PM (10 years ago)
Author:
mistic100
Message:

use custom safe_version_compare instead of version_compare to handle versions numbers with letters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_plugins.inc.php

    r26461 r26591  
    7979   
    8080    if ( $version == 'auto' or $current_version == 'auto'
    81         or version_compare($current_version, $version, '<')
     81        or safe_version_compare($current_version, $version, '<')
    8282      )
    8383    {
     
    145145   
    146146    if ( $version == 'auto' or $current_version == 'auto'
    147         or version_compare($current_version, $version, '<')
     147        or safe_version_compare($current_version, $version, '<')
    148148      )
    149149    {
Note: See TracChangeset for help on using the changeset viewer.