Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jul 18, 2023
1 parent c426f4a commit 1146959
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.7.42.3
## 07/18/2023

2. [](#improved)
* Fixed a typo in `Utils::isDangerousFunction`

# v1.7.42.2
## 07/18/2023

Expand Down
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ public static function isDangerousFunction($name): bool
}

if (is_array($name) || strpos($name, ":") !== false) {
return false;
return true;
}

if (strpos($name, "\\") !== false) {
Expand Down

0 comments on commit 1146959

Please sign in to comment.