Item13941: %EDITTABLE macro visible in print mode.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.1.1
Target Release: patch
Applies To: Extension
Component: EditRowPlugin
Branches: master Release02x01 Item13989 Item14033 Item13897
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
This is ugly. The macro should be removed in context static instead of leaving it in.

Patch:
-    return 0 if $context->{static};
+    if ($context->{static}) {
+      $_[0] =~ s/%${macro}({.*?})?%//s;
+      return 1;
+    }

-- MichaelDaum - 04 Feb 2016

 
Topic revision: r9 - 11 Aug 2016, GeorgeClark - This page was cached on 17 Dec 2017 - 09:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License