Skip to content
Permalink
Browse files

Sanitize default yield

  • Loading branch information...
bloatware authored and philwareham committed Feb 22, 2019
1 parent ca14a3a commit 943074dcb58208459f38157fda3c39cdb87a08a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 textpattern/vendors/Textpattern/Tag/Syntax/Partial.php
@@ -57,7 +57,7 @@ public static function renderYield($atts, $thing = null)
if (!isset($inner)) {
$inner = isset($default) ?
($default === true ? gps($name) : $default) :
($default === true ? page_url(array('type' => $name)) : $default) :
($thing ? parse($thing) : $thing);
}

0 comments on commit 943074d

Please sign in to comment.
You can’t perform that action at this time.