Ignore:
Timestamp:
Jan 9, 2014, 10:26:21 PM (7 years ago)
Author:
plg
Message:

bug fixed: version_compare can't compare 2.5.c and 2.5.d. mistic has written a
new function safe_version_compare which correctly handles letters in version
numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/community/main.inc.php

    r26559 r26592  
    4444    COMMUNITY_VERSION == 'auto' or
    4545    $pwg_loaded_plugins[COMMUNITY_ID]['version'] == 'auto' or
    46     version_compare($pwg_loaded_plugins[COMMUNITY_ID]['version'], COMMUNITY_VERSION, '<')
     46    safe_version_compare($pwg_loaded_plugins[COMMUNITY_ID]['version'], COMMUNITY_VERSION, '<')
    4747  )
    4848  {
Note: See TracChangeset for help on using the changeset viewer.