Changeset 2708

Show
Ignore:
Timestamp:
07/04/08 01:43:33 (12 months ago)
Author:
fumiakiy
Message:

Do not bother if ID is empty string. BugId:80516

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/php/lib/mtdb_base.php

    r2687 r2708  
    27012701 
    27022702        # Adds an ID filter 
    2703         if (isset($args['id'])) 
     2703        if ( isset($args['id']) ) { 
     2704            if ( $args['id'] == '' ) return null; 
    27042705            $id_filter = 'and asset_id = '.$args['id']; 
     2706        } 
    27052707 
    27062708        # Adds a days filter