Skip to content

Commit 88e5590

Browse files
author
Micah Godbolt
committed
Fixed incorrect quote marks in data_replace function
1 parent 6d535ed commit 88e5590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function data_replace(&$data) {
9999
}
100100
elseif (is_string($value) && $value[0] == '@') {
101101
$file_path = 'file://' . realpath(get_asset_path(substr($value, 1), 'data'));
102-
if (($pathinfo = pathinfo($file_path)) && isset($pathinfo[extension]) && $pathinfo['extension'] == 'yaml') {
102+
if (($pathinfo = pathinfo($file_path)) && isset($pathinfo['extension']) && $pathinfo['extension'] == 'yaml') {
103103
$data_replace_with = Yaml::parse(file_get_contents($file_path));
104104
}
105105
else {

0 commit comments

Comments
 (0)