Jump to content
  • Create New...
  • 0

Problem - Ticket System by Shang



Hello dear comunity , today i installed this system  , and i have a small problem with ticket_lib.so at line 58. 


Sysser: ticket_lib.so:58: attempt to concatenate local `pid' (a nil value)


Row's at lib: 

function ticket.set_main_member()
	local pid = ticket.config.MAIN_MEMBER
	local c,permisions = mysql_direct_query("SELECT * FROM "..ticket.config.PERMISIONS_DB_TABLE.." WHERE pid = "..pid.." LIMIT 1;")
	if c > 0 or pid == 0 then return end
	mysql_direct_query("INSERT INTO "..ticket.config.PERMISIONS_DB_TABLE.." (pid,answer_permision,delete_permision,add_permision) VALUES ("..pid..",1,1,1);")


 Thank's for help's boy's.


Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.