Bug 12214: (follow-up) correct POD of C4::Reports::Guided::execute_query()
authorGalen Charlton <gmc@esilibrary.com>
Thu, 8 May 2014 16:12:32 +0000 (16:12 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 9 May 2014 14:40:06 +0000 (14:40 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reports/Guided.pm

index 4b0ab6f..a4c7c01 100644 (file)
@@ -406,8 +406,8 @@ sub nb_rows {
 This function returns a DBI statement handler from which the caller can
 fetch the results of the SQL passed via C<$sql>.
 
-If passed any query other than a SELECT, or if there is a db error,
-C<$errors> an array ref is returned containing the error after this
+If passed any query other than a SELECT, or if there is a DB error,
+C<$errors> is returned, and is a hashref containing the error after this
 manner:
 
 C<$error->{'sqlerr'}> contains the offending SQL keyword.