projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d957a0
)
eliminate harmless "Odd number of elements in hash assignment" warning
author
ivan
<ivan>
Tue, 3 Mar 2009 23:41:03 +0000
(23:41 +0000)
committer
ivan
<ivan>
Tue, 3 Mar 2009 23:41:03 +0000
(23:41 +0000)
FS/FS/queue.pm
patch
|
blob
|
history
diff --git
a/FS/FS/queue.pm
b/FS/FS/queue.pm
index
61cee0a
..
381e418
100644
(file)
--- a/
FS/FS/queue.pm
+++ b/
FS/FS/queue.pm
@@
-127,7
+127,12
@@
sub insert {
local $FS::UID::AutoCommit = 0;
my $dbh = dbh;
- my %args = @args;
+ my %args = ();
+ {
+ no warnings "misc";
+ %args = @args;
+ }
+
$self->custnum( $args{'custnum'} ) if $args{'custnum'};
my $error = $self->SUPER::insert;