[Bug 26142] New: variable used has hashref when they are objects

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 26142] New: variable used has hashref when they are objects

bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26142

            Bug ID: 26142
           Summary: variable used has hashref when they are objects
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Mana-kb
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
        Depends on: 17047

From commit cb01b253308060bad942723413feef1fd70825fd
     Bug 17047: SQL reports management with Mana-KB

         'notes'      => $report->notes,
         'sql'     => $report->savedsql,
         'showsql' => 1,
+        'mana_success' => $input->param('mana_success'),
+        'mana_success' => scalar $input->param('mana_success'),
+        'mana_id' => $report->{mana_id},
+        'mana_comments' => $report->{comments}

No idea what's the side-effect here but this code is wrong.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17047
[Bug 17047] Mana Knowledge Base : Data sharing
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/