Skip to content

Commit

Permalink
Sanitize default yield
Browse files Browse the repository at this point in the history
  • Loading branch information
bloatware authored and philwareham committed Feb 25, 2019
1 parent ca14a3a commit 943074d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textpattern/vendors/Textpattern/Tag/Syntax/Partial.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 943074d

Please sign in to comment.