PluXml
PluXml copied to clipboard
Missing delimiters in preg_grep in plxAdmin editCategories()
https://github.com/pluxml/PluXml/blob/436ad00e681d089131ee58e326c1a9094a6b60b1/core/lib/class.plx.admin.php#L659
missing modified [0-9]{3} TO #\d{3}# Will be good with this replacement :
if(count(preg_grep('#\d{3}#', $filenameArrayCat)) > 1) {
You are missing some tricks :
grep -n '\[0-9\]' *.php update/*.php core/{admin,lib}/*.php
echo "$(grep -n '\[0-9\]' *.php update/*.php core/{admin,lib}/*.php | wc -l) lines"
Just 34 lines for checking. You can use "sed" for a batch of replacements
Marvelous tricks :+1: Found this Notice with debug = true in config ;)