mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Fix unable to merge from listview into document that has {{pagerepeat}}
This commit is contained in:
parent
c4752fa83a
commit
af42a71332
@ -118,7 +118,7 @@ class calendar_merge extends bo_merge
|
||||
function merge_string($content,$ids,$err,$mimetype,$fix)
|
||||
{
|
||||
// Handle merging a list of events into a document with range instead of pagerepeat
|
||||
if(strpos($content, '$$pagerepeat') === false && count($ids) > 1)
|
||||
if(strpos($content, '$$pagerepeat') === false && strpos($content, '{{pagerepeat') === false && count($ids) > 1)
|
||||
{
|
||||
// Merging more than one something will fail without pagerepeat
|
||||
if (is_array($ids) && $ids[0]['id'])
|
||||
|
Loading…
Reference in New Issue
Block a user