Current time: 04-23-2014, 10:40 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 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 LightworkerNaven.)
Post: #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.

---
Enjoy my spiritual blog at http://thelifemaster.com
THT 1.3.5 Reworked: http://thehostingtool.com/forum/thread-1776.html
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
A couple minor bug fixes. - LightworkerNaven - 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:


User(s) browsing this thread: 1 Guest(s)