ver. 0.274 - ShopProduct mass_edit + tree UI cleanup
This commit is contained in:
@@ -51,6 +51,7 @@ if (!class_exists('S')) {
|
||||
public static function clear_product_cache($id) {}
|
||||
public static function send_email($to, $subject, $body) { return true; }
|
||||
public static function remove_special_chars($str) { return str_ireplace(['\'', '"', ',', ';', '<', '>'], ' ', $str); }
|
||||
public static function normalize_decimal($val, $precision = 2) { return round((float)$val, $precision); }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user