mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +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)
|
function merge_string($content,$ids,$err,$mimetype,$fix)
|
||||||
{
|
{
|
||||||
// Handle merging a list of events into a document with range instead of pagerepeat
|
// 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
|
// Merging more than one something will fail without pagerepeat
|
||||||
if (is_array($ids) && $ids[0]['id'])
|
if (is_array($ids) && $ids[0]['id'])
|
||||||
|
Loading…
Reference in New Issue
Block a user