Use "" instead of undef. See RT#24899.
[freeside.git] / 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,