diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-05-18 20:55:55 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-05-18 20:55:55 +0100 |
| commit | beb9c394f0ee24e4f2745c44751c6988ea3bc492 (patch) | |
| tree | e5a8ce005f40c5f9f33c7ab8d16264f8a8472d72 /app/Module/ClippingsCartModule.php | |
| parent | cdaf7c6c0c0cc29442d2fc37df04324e61f9a17a (diff) | |
| download | webtrees-beb9c394f0ee24e4f2745c44751c6988ea3bc492.tar.gz webtrees-beb9c394f0ee24e4f2745c44751c6988ea3bc492.tar.bz2 webtrees-beb9c394f0ee24e4f2745c44751c6988ea3bc492.zip | |
Fix #938 - Sidebar clipping cart
Diffstat (limited to 'app/Module/ClippingsCartModule.php')
| -rw-r--r-- | app/Module/ClippingsCartModule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php index 241e8ff426..7557d685ef 100644 --- a/app/Module/ClippingsCartModule.php +++ b/app/Module/ClippingsCartModule.php @@ -721,7 +721,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface, } $record = Individual::getInstance($pid, $WT_TREE); if ($record && !array_key_exists($record->getXref(), $cart[$WT_TREE->getTreeId()])) { - $out .= '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&add=' . $pid . '&pid=' . $pid . '" class="add_cart"><i class="icon-clippings"></i> ' . I18N::translate('Add %s to the clippings cart', $record->getFullName()) . '</a>'; + $out .= '<br><a href="module.php?mod=' . $this->getName() . '&mod_action=ajax&action=add1&type=INDI&id=' . $pid . '&pid=' . $pid . '" class="add_cart"><i class="icon-clippings"></i> ' . I18N::translate('Add %s to the clippings cart', $record->getFullName()) . '</a>'; } return $out; |
