Skip to content

Commit

Permalink
deleteRecord() signature made compatible with parent class
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 10, 2017
1 parent 4da9260 commit bd7f43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siremis/modules/menu/form/MenuForm.php
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ public function newRecord()
* DeleteRecord() - allow delete only if no child node
* @return avoid
*/
public function deleteRecord()
public function deleteRecord($id = NULL)
{
$rec = $this->getActiveRecord();
if (!$rec) return;

0 comments on commit bd7f43c

Please sign in to comment.