Ignore:
Timestamp:
Mar 9, 2007, 5:28:49 PM (17 years ago)
Author:
plg
Message:

New: #images.high_filesize was added so that we can sum the filesizes in the
filtered history. #images.high_filesize is filled during metadata
synchronization.

Bug fixed: in getAttribute XML function, when asking "filesize", it was
returning high_filesize. The regex was too simple.

File:
1 edited

Legend:

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

    r1058 r1883  
    5353{
    5454//  echo htmlentities($element).'<br /><br />';
    55   $regex = '/^<\w+[^>]*'.$attribute.'\s*=\s*"('.VAL_REG.')"/i';
     55  $regex = '/^<\w+[^>]*\b'.$attribute.'\s*=\s*"('.VAL_REG.')"/i';
    5656  if ( preg_match( $regex, $element, $out ) )
    5757  {
Note: See TracChangeset for help on using the changeset viewer.