mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fixed Blank item added when clicking save in recurring invoice
This commit is contained in:
2
post.php
2
post.php
@@ -2004,7 +2004,7 @@ if(isset($_POST['save_recurring'])){
|
||||
|
||||
$recurring_id = intval($_POST['recurring_id']);
|
||||
|
||||
if(isset($_POST['name'])){
|
||||
if(!empty($_POST['name'])){
|
||||
$name = strip_tags(mysqli_real_escape_string($mysqli,$_POST['name']));
|
||||
$description = strip_tags(mysqli_real_escape_string($mysqli,$_POST['description']));
|
||||
$qty = floatval($_POST['qty']);
|
||||
|
||||
Reference in New Issue
Block a user