Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ot_onetime_discount: Modules->Order Total undefined constant #119

Closed
lat9 opened this issue May 27, 2019 · 0 comments
Closed

ot_onetime_discount: Modules->Order Total undefined constant #119

lat9 opened this issue May 27, 2019 · 0 comments

Comments

@lat9
Copy link
Owner

lat9 commented May 27, 2019

When viewing the admin's Modules->Order Total, if the ot_onetime_discount is not installed, a PHP warning is thrown:

[27-May-2019 09:36:29 America/New_York] Request URI: /zc156posm/gRoan-Dsw-Habit/modules.php?set=ordertotal, IP address: ::1
#1  ot_onetime_discount->__construct() called at [C:\xampp\htdocs\zc156posm\gRoan-Dsw-Habit\modules.php:195]
--> PHP Notice: Use of undefined constant MODULE_ORDER_TOTAL_ONETIME_DISCOUNT_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_ONETIME_DISCOUNT_SORT_ORDER' in C:\xampp\htdocs\zc156posm\includes\modules\order_total\ot_onetime_discount.php on line 71.
@lat9 lat9 added the bug label May 27, 2019
@lat9 lat9 added this to the v4.4.0 milestone May 27, 2019
lat9 added a commit that referenced this issue May 27, 2019
@lat9 lat9 closed this as completed Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant