The module overrides the submission functions set by other modules
KiamLaLuno - February 26, 2009 - 19:39
| Project: | Yahoo Search BOSS |
| Version: | 6.x-1.0-alpha1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | Third-party modules compatibility |
Description
At line 46 of yboss.module the code contains the following line:
<?php
$form['#submit'] = array('yboss_search_box_form_submit');
?>This means that $form['#submit'] will be set to an array containing only the value passed from the module; if other modules would have set an item in that array, it would be lost.
