Bug 12214: (follow-up) correct POD of C4::Reports::Guided::execute_query()
[koha_fer] / 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.