News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Quick Ban on Account Delete ERROR PAGES

Started by xyxis_fahim, November 20, 2010, 07:50:31 PM

Previous topic - Next topic

xyxis_fahim

Code that is is Sources/Profile.php
    $_POST['expiration'] = $_POST['expiration'] == 'never' ? 'NULL' : ($_POST['expiration'] == 'expired' ? '0' : ($_POST['expire_date'] != $_POST['old_expire'] ? time() + 24 * 60 * 60 * (int) $_POST['expire_date'] : 'expire_time'));
   



Error pages reports :
8: Undefined index:  expiration
File: /home/truforum/public_html/Sources/Profile.php
Line: 2894


8: Undefined index:  expire_date
File: /home/truforum/public_html/Sources/Profile.php
Line: 2894



Advertisement: