Project

General

Profile

Actions

Bug #8138

closed

Empty if substitutions cause warning due to missing match index

Added by krileon about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
25 August 2020
Due date:
% Done:

100%

Estimated time:

Description

If the below substitution is used for example (doesn't make much sense to do this, but you can) it will cause a warning due to match group 3 being missing (the resulting string for the match).

[cb:if username="123"][/cb:if]

Actions #1

Updated by krileon about 4 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1577

Actions #2

Updated by beat about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF