Renaming confusing variables

This commit is contained in:
rootcoma 2013-12-05 09:06:16 -08:00
parent 524c4f6139
commit 587780fe19
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
<?php
require_once("includes/autoload.php");
function getPostVariable($value) {
if(array_key_exists($value, $_POST)) {
$value = $_POST[$value];
function getPostVariable($key) {
if(array_key_exists($key, $_POST)) {
$value = $_POST[$key];
}
if(!isset($value)) {
$value = null;