Skip to content

Commit 6dad978

Browse files
authored
PHP Notice: Undefined variable: path_parts in .../www/core/src/HelperProcessor.php:26
1 parent f39547c commit 6dad978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/HelperProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ protected function makeFilename($pathinfo, $params)
2222

2323
protected function makeFilePath($newFilename, $pathinfo, $params)
2424
{
25-
return str_replace('assets/images', '', $path_parts['dirname']);
25+
return str_replace('assets/images', '', $pathinfo['dirname']);
2626
}
2727

2828
public function phpThumb($input = '', $options = '', $webp = true)

0 commit comments

Comments
 (0)