Item13941: %EDITTABLE macro visible in print mode.

Priority: Urgent
Current State: Closed
Released In: 2.1.1
Target Release: patch
Applies To: Extension
Component: EditRowPlugin
Branches: master Release02x01 Item13989 Item14033 Item13897 Item14380 Item14537
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.

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

-- MichaelDaum - 04 Feb 2016

Topic revision: r11 - 31 Jan 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy