Use "" instead of undef. See RT#24899.
authorJustin DeVuyst <justin@devuyst.com>
Wed, 8 Mar 2017 22:00:18 +0000 (17:00 -0500)
committerJustin DeVuyst <justin@devuyst.com>
Wed, 8 Mar 2017 22:00:22 +0000 (17:00 -0500)
httemplate/browse/cust_attachment.html

index bc9597f..7330c05 100755 (executable)
@@ -91,7 +91,7 @@ my $orderby = $cgi->param('orderby') || 'custnum';
 
 my $query = {
     table     => 'cust_attachment',
-    hashref   => { disabled => $disabled ? { op => '>', value => 0 } : undef, },
+    hashref   => { disabled => $disabled ? { op => '>', value => 0 } : '', },
     order_by  => "ORDER BY $orderby",
     addl_from => 'JOIN cust_main USING (custnum)',
     extra_sql => ' AND ' . $curuser->agentnums_sql,