From: dondelelcaro Date: Mon, 15 Sep 2008 18:45:14 +0000 (+0000) Subject: * fix ||= typo X-Git-Url: https://git.donarmstrong.com/?p=infobot.git;a=commitdiff_plain;h=ded110cd6520755ed4a6f173c55f92cb18a8b0c0 * fix ||= typo git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1843 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/DebianExtra.pl b/src/Modules/DebianExtra.pl index f70dd2e..ef77477 100644 --- a/src/Modules/DebianExtra.pl +++ b/src/Modules/DebianExtra.pl @@ -78,7 +78,7 @@ use SOAP::Lite; sub do_id($) { my ($bug_num,$options) = @_; - $options || = {}; + $options ||= {}; if ( not $bug_num =~ /^\#?\d+$/ ) { warn "Bug is not a number!" and return undef