Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A couple minor bug fixes.
02-18-2012, 11:58 PM, (This post was last modified: 02-19-2012, 12:34 AM by ReworkedScripts.)
#1
Bug  A couple minor bug fixes.
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:
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.
---
CCN Journalist
See my work at: http://www.cryptocoinsnews.com/author/cozylife
Reply


Messages In This Thread
A couple minor bug fixes. - ReworkedScripts - 02-18-2012, 11:58 PM
RE: A couple minor bug fixes. - Kevin - 02-22-2012, 12:04 AM
RE: A couple minor bug fixes. - Kevin - 02-22-2012, 07:39 AM
RE: A couple minor bug fixes. - Kevin - 02-22-2012, 04:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)