Changeset 591 for trunk/plugins/Linker


Ignore:
Timestamp:
09/25/06 19:06:49 (13 years ago)
Author:
koto
Message:
  • bugfix for Linker plugin ( "syntax error" message was displayed instead of links)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Linker/scan.php

    r565 r591  
    9898    function dircomp($a, $b) 
    9999    { 
    100       if(is_array($a)) $a = $a[0]; 
    101       if(is_array($b)) $b = $b[0]; 
     100      if(is_array($a)) $a = array_shift($a); 
     101      if(is_array($b)) $b = array_shift($b); 
    102102      return strcmp(strtolower($a), strtolower($b)); 
    103103    } 
Note: See TracChangeset for help on using the changeset viewer.