X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSQLMaker.pm;h=6557f2e072712045d04fd5851d767c90a1966e91;hb=a3ae79ed1009ae4679909f4ec7dc0327c1adaae8;hp=ea69e076afef6504d8eb63d19adebad72a8128d6;hpb=ea3ee77d2d9e137b07ca4b2db14986e8310f4bec;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/SQLMaker.pm b/lib/DBIx/Class/SQLMaker.pm index ea69e07..6557f2e 100644 --- a/lib/DBIx/Class/SQLMaker.pm +++ b/lib/DBIx/Class/SQLMaker.pm @@ -191,7 +191,7 @@ sub _assert_bindval_matches_bindtype () { 1 }; # poor man's de-qualifier sub _quote { - $_[0]->next::method( ( $_[0]{_dequalify_idents} and ! ref $_[1] ) + $_[0]->next::method( ( $_[0]{_dequalify_idents} and defined $_[1] and ! ref $_[1] ) ? $_[1] =~ / ([^\.]+) $ /x : $_[1] );