We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b1c3b commit bb7c751Copy full SHA for bb7c751
administrator/components/com_menus/src/Helper/MenusHelper.php
@@ -587,19 +587,19 @@ protected static function installPresetItems($node, $menutype)
587
588
if (!$table->bind($record))
589
{
590
- throw new \Exception('Bind failed: ' . $table->getError());
+ throw new \Exception($table->getError());
591
}
592
593
$table->setLocation($item->getParent()->id, 'last-child');
594
595
if (!$table->check())
596
597
- throw new \Exception('Check failed: ' . $table->getError());
598
599
600
if (!$table->store())
601
602
- throw new \Exception('Saved failed: ' . $table->getError());
603
604
605
$item->id = $table->get('id');
0 commit comments