Author Topic: Bug in E-Mail Code  (Read 3404 times)

Offline saladbar821

Bug in E-Mail Code
« on: January 13, 2010, 02:56:41 am »
Hi there! I was testing my shop items when I ran into the following on the "Send E-Mail to Admin V3" script:
Code: [Select]
Fatal error: Call to undefined function: htmlspecialchars_decode() in /homepages/5/d301581944/htdocs/smf/Sources/shop/items/EmailAdmin.php  on line 77
I am using SMF 2.0 RC2 and SMFShop 3.1.5

EDIT: I fixed it by replacing the htmlspecialchars_decode with un_htmlspecialchars (the next closest function of SMF)
« Last Edit: January 13, 2010, 03:10:13 am by saladbar821 »

Offline żεχเ๏ภ

Re: Bug in E-Mail Code
« Reply #1 on: December 06, 2010, 03:47:19 pm »
Same bug here! I wish someone would consider looking into this.

And mind telling in detail how you fixed it for yourself?  ???

Offline saladbar821

Re: Bug in E-Mail Code
« Reply #2 on: December 06, 2010, 07:36:26 pm »
Actually... I don't remember what I did to fix this...

I most likely edited that file that was giving me troubles with what I put in that post...

Offline żεχเ๏ภ

Re: Bug in E-Mail Code
« Reply #3 on: December 07, 2010, 04:35:37 am »
Actually... I don't remember what I did to fix this...

I most likely edited that file that was giving me troubles with what I put in that post...


Tried it, it broke the item  ;D Lol

Edit: But then again. I'm not exactly the best coder in the world