From 2a5bafe212c0e66a4de51ece1772ffb42feb2bb7 Mon Sep 17 00:00:00 2001 From: Eivin Giske Skaaren Date: Fri, 19 Jun 2015 13:08:29 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 14421: Corrected example in SMS.pm to working version with hashref. http://bugs.koha-community.org/show_bug.cgi?id=14421 Signed-off-by: Bernardo Gonzalez Kriegel Test: 1) Apply patch 2) perldoc C4/SMS.pm 3) Check fixed argument in example Argument is hashref, POD is now right Added additional space on second arg No errors --- C4/SMS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SMS.pm b/C4/SMS.pm index 9b8a24e..1cd67b9 100644 --- a/C4/SMS.pm +++ b/C4/SMS.pm @@ -23,8 +23,8 @@ C4::SMS - send SMS messages =head1 SYNOPSIS -my $success = C4::SMS->send_sms( message => 'This is my text message', - destination => '212-555-1212' ); +my $success = C4::SMS->send_sms({ message => 'This is my text message', + destination => '212-555-1212' }); =head1 DESCRIPTION -- 1.7.9.5