mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-01 00:34:32 +02:00
Update plan.php
This commit is contained in:
parent
d08137e0c3
commit
ad411e2223
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ switch ($action) {
|
|||
if (!$voucher) {
|
||||
r2(U . 'plan/voucher/', 'e', Lang::T('Voucher Not Found'));
|
||||
}
|
||||
$plan = ORM::for_table('tbl_plans')->find_one($d['id_plan']);
|
||||
$plan = ORM::for_table('tbl_plans')->find_one($voucher['id_plan']);
|
||||
if ($voucher && $plan) {
|
||||
$content = Lang::pad($config['CompanyName'], ' ', 2) . "\n";
|
||||
$content .= Lang::pad($config['address'], ' ', 2) . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue