Update bookkeeping.class.php
This commit is contained in:
parent
d1263c1256
commit
955083d6de
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ class BookKeeping extends CommonObject
|
|||
$resqlnum = $this->db->query($sqlnum);
|
||||
if ($resqlnum) {
|
||||
$num = $this->db->num_rows($resqlnum);
|
||||
if ($num>0) {
|
||||
if ($num > 0) {
|
||||
$objnum = $this->db->fetch_object($resqlnum);
|
||||
$this->piece_num = $objnum->piece_num;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue