[Rt-commit] r6060 - in rtir/branches/2.1-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed Sep 27 16:12:18 EDT 2006
Author: ruz
Date: Wed Sep 27 16:12:16 2006
New Revision: 6060
Modified:
rtir/branches/2.1-EXPERIMENTAL/ (props changed)
rtir/branches/2.1-EXPERIMENTAL/lib/RT/IR.pm
Log:
r1633 at cubic-pc: cubic | 2006-09-28 00:21:53 +0400
* fix "Scalar value @_[-1] better written as $_[-1]"
Modified: rtir/branches/2.1-EXPERIMENTAL/lib/RT/IR.pm
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/lib/RT/IR.pm (original)
+++ rtir/branches/2.1-EXPERIMENTAL/lib/RT/IR.pm Wed Sep 27 16:12:16 2006
@@ -127,7 +127,7 @@
$tickets->_CustomFieldLimit($field, ($negative? '>': '<='), $end_ip, @rest, ENTRYAGGREGATOR => 'AND');
$tickets->_CloseParen;
# return right now as we did everything
- $_[-1] = ref @_[-1]? [1]: 1;
+ $_[-1] = ref $_[-1]? [1]: 1;
};
# "[!]= 'CIDR'" => "op 'sIP-eIP'"
More information about the Rt-commit
mailing list