*** libraries.module	Sat Oct  1 09:17:08 2011
--- libraries.module	Sun Oct 23 13:47:33 2011
***************
*** 720,726 ****
    while ($options['lines'] && $line = fgets($file, $options['cols'])) {
      if (preg_match($options['pattern'], $line, $version)) {
        fclose($file);
!       return $version[1];
      }
      $options['lines']--;
    }
--- 720,726 ----
    while ($options['lines'] && $line = fgets($file, $options['cols'])) {
      if (preg_match($options['pattern'], $line, $version)) {
        fclose($file);
!       return $version[0];
      }
      $options['lines']--;
    }
