[phpbbreloaded-checkins] SF.net SVN: phpbbreloaded: [273] phpBB Reloaded 2/admin/admin_agreement.ph
Status: Planning
Brought to you by:
tehphpmaster
From: <teh...@us...> - 2006-10-26 02:31:35
|
Revision: 273 http://svn.sourceforge.net/phpbbreloaded/?rev=273&view=rev Author: tehphpmaster Date: 2006-10-25 19:31:27 -0700 (Wed, 25 Oct 2006) Log Message: ----------- Bringing parts of this back to coding standards. @New Devs: Can one of you look in the task manager plz, if someoen could bring this up to use the DBAL as well... Modified Paths: -------------- phpBB Reloaded 2/admin/admin_agreement.php Modified: phpBB Reloaded 2/admin/admin_agreement.php =================================================================== --- phpBB Reloaded 2/admin/admin_agreement.php 2006-10-25 04:25:33 UTC (rev 272) +++ phpBB Reloaded 2/admin/admin_agreement.php 2006-10-26 02:31:27 UTC (rev 273) @@ -47,9 +47,9 @@ 'body' => 'admin/admin_agreement.tpl') ); - if(isset($_POST['post'])) + if(isset($HTTP_POST_VARS['post'])) { - $agreement_data = addslashes($_POST['agreement_form']); + $agreement_data = addslashes($HTTP_POST_VARS['agreement_form']); $query = mysql_query("UPDATE " . AGREEMENT_TABLE . " SET agreement_text = '" . addslashes($_POST['agreement_form']) . "' WHERE id = 1"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |