IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16232 for trunk/Nebulous/lib


Ignore:
Timestamp:
Jan 25, 2008, 10:54:04 AM (18 years ago)
Author:
jhoblitt
Message:

define Nebulous::Client::find_objects() as returning [] when NO keys are found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r16227 r16232  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Client.pm,v 1.37 2008-01-25 02:54:53 jhoblitt Exp $
     3# $Id: Client.pm,v 1.38 2008-01-25 20:54:04 jhoblitt Exp $
    44
    55package Nebulous::Client;
     
    420420    $log->debug( "leaving" );
    421421
    422 # aparently empty arrays are being turned into undef by SOAP::Lite so the
    423 # behavior of this function is different then it's ::Server counter part
    424 
    425     return scalar @$keys ? $keys : undef;
     422# note that no keys found is returned as []
     423
     424    return $keys;
    426425}
    427426
Note: See TracChangeset for help on using the changeset viewer.