mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 19:24:40 -04:00
return blank strings for html_backup
This commit is contained in:
parent
c718c6d19b
commit
84d807f12e
@ -34,8 +34,8 @@ class InvoiceHistoryTransformer extends EntityTransformer
|
||||
return [
|
||||
'id' => '',
|
||||
'activity_id' => '',
|
||||
// 'json_backup' => (string) '',
|
||||
// 'html_backup' => (string) '',
|
||||
'json_backup' => (string) '',
|
||||
'html_backup' => (string) '',
|
||||
'amount' => (float) 0,
|
||||
'created_at' => (int) 0,
|
||||
'updated_at' => (int) 0,
|
||||
@ -46,8 +46,8 @@ class InvoiceHistoryTransformer extends EntityTransformer
|
||||
return [
|
||||
'id' => $this->encodePrimaryKey($backup->id),
|
||||
'activity_id' => $this->encodePrimaryKey($backup->activity_id),
|
||||
// 'json_backup' => (string) $backup->json_backup ?: '',
|
||||
// 'html_backup' => (string) $backup->html_backup ?: '',
|
||||
'json_backup' => (string) '',
|
||||
'html_backup' => (string) '',
|
||||
'amount' => (float) $backup->amount,
|
||||
'created_at' => (int) $backup->created_at,
|
||||
'updated_at' => (int) $backup->updated_at,
|
||||
|
Loading…
x
Reference in New Issue
Block a user