[Bps-public-commit] dbix-searchbuilder branch, master, updated. 1.61-3-g2a95607

Thomas Sibley trs at bestpractical.com
Fri Feb 17 12:30:28 EST 2012


The branch, master has been updated
       via  2a95607a921013b367e89e908863ed675f93ffe9 (commit)
      from  ce9dbe3a045f1a98b26202edfcb6cfbf635a7745 (commit)

Summary of changes:
 lib/DBIx/SearchBuilder/Record.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 2a95607a921013b367e89e908863ed675f93ffe9
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Feb 17 12:15:07 2012 -0500

    Correct the ordering of args passed to UNIVERSAL::isa
    
    Reported-by: Martin King <Martin.King at arm.com>

diff --git a/lib/DBIx/SearchBuilder/Record.pm b/lib/DBIx/SearchBuilder/Record.pm
index 5bd4cf3..a8d188c 100755
--- a/lib/DBIx/SearchBuilder/Record.pm
+++ b/lib/DBIx/SearchBuilder/Record.pm
@@ -1324,7 +1324,7 @@ sub __Delete {
     my $QueryString = "DELETE FROM ". $self->Table . ' ' . $where;
    my $return = $self->_Handle->SimpleQuery($QueryString, @bind);
 
-    if (UNIVERSAL::isa('Class::ReturnValue', $return)) {
+    if (UNIVERSAL::isa($return, 'Class::ReturnValue')) {
         return ($return);
     } else {
         return(1); 

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list