I I'm trying to add a string after a part of PHP code by:
Code: Select all
<operation>
<search regex="false"><![CDATA[date_modified = NOW() WHERE product_id = '" . (int)$product_id . "'");]]></search>
<add position="After"><![CDATA[if (isset($data['image'])) {
$this->editImages($data['image'], $product_id);
}/*]]></add>
</operation>
is replaced bydate_modified = NOW() WHERE product_id =...
is it a bug or i missed something ?if (isset($data['image'])) {...