This gets volunteer history select working correctly.

This commit is contained in:
Jonathan Rosenbaum
2017-08-03 21:23:13 +00:00
parent e6b05b4eab
commit f95f2d2b2c
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ $stand_time_value = STAND_TIME_VALUE;
$query = 'SELECT volunteer FROM contacts WHERE contact_id="' . $_POST['contact_id'] . '";';
$sql = mysql_query($query, $YBDB) or die(mysql_error());
$result = mysql_fetch_assoc($sql);
if ($result['history'] == "") {
if ($result['volunteer'] == "") {
echo "First Volunteer History";
} else {
// Description may have newlines