Hey, I just wanted to post a few changes to help get rid of the PHP warning messages that pop up in the tickets section of the admin area.
In /admin/pages/tickets.php
FIND:
REPLACE IT WITH:
In /admin/pages/ticketsall.php
FIND:
REPLACE IT WITH:
These changes make it so that the default status is set to an empty string. When you view all the tickets, you see them all. When you select a ticket that has the status of Other, Open, On Hold, or Closed, the status will be passed though the above functions as the type of ticket to show.
In /admin/pages/tickets.php
FIND:
PHP Code:
public function content($status) { # Displays the page
REPLACE IT WITH:
PHP Code:
public function content($status = "") { # Displays the page
In /admin/pages/ticketsall.php
FIND:
PHP Code:
public function content($status) { # Displays the page
REPLACE IT WITH:
PHP Code:
public function content($status = "") { # Displays the page
These changes make it so that the default status is set to an empty string. When you view all the tickets, you see them all. When you select a ticket that has the status of Other, Open, On Hold, or Closed, the status will be passed though the above functions as the type of ticket to show.
---
See my GitHub at https://github.com/cozylife
See my GitHub at https://github.com/cozylife