View Single Post
Old 12-17-2011, 04:27 PM  
Nevet
Registered User
 
Industry Role:
Join Date: Dec 2011
Posts: 10
It's being caused by a bit of faulty logic. Look at the block that starts:

PHP Code:
if($credits != && $vid_uid!=$uid) { 
That, and the other two conditionals, create a situation where sometimes "paid" could be undefined. Quick fix: put the following in front of the above line:

PHP Code:
$paid false
The code is somewhat shaky in a couple of other places as well.
Nevet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote