diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-21 06:54:58 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-21 06:54:58 +0000 |
commit | 35013e3feb3261f2d2f8c41bbe5e7052ac966ee1 (patch) | |
tree | 44266c8a4f0b262d8fa72bc8498aa44c1adb233d | |
parent | d6366b9751425439eb662a5b2a6daf72116798c5 (diff) |
Removing Vanilla Perl shebang from common.pl
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@677 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/Form.pm | 12 | ||||
-rw-r--r-- | common.pl | 1 |
2 files changed, 1 insertions, 12 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 1dee7692..c834e468 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2301,17 +2301,7 @@ sub like { my ($self, $str) = @_; - if ($str !~ /(%|_)/) { - - if ($str =~ /(^").*("$)/) { - $str =~ s/(^"|"$)//g; - } else { - $str = "%$str%"; - } - } - - $str =~ s/'/''/g; - $str; + "%$str%"; } @@ -1,4 +1,3 @@ -#!c:\vanilla-perl\perl\bin\perl # ###################################################################### # LedgerSMB Accounting and ERP |