forked from science-ation/science-ation
Another bug fix on conferences.php
This commit is contained in:
parent
01589a1518
commit
b1d2fd76a6
@ -134,7 +134,7 @@ if(array_key_exists('action', $_GET)){
|
|||||||
case 'edit':
|
case 'edit':
|
||||||
// give them an editor in which to modify an existing conference
|
// give them an editor in which to modify an existing conference
|
||||||
$cid = intval($_POST['id']);
|
$cid = intval($_POST['id']);
|
||||||
if(!$cid){
|
if($cid){
|
||||||
$conf = mysql_fetch_assoc(mysql_query("SELECT * FROM conferences WHERE id = $cid"));
|
$conf = mysql_fetch_assoc(mysql_query("SELECT * FROM conferences WHERE id = $cid"));
|
||||||
if(is_array($conf)){
|
if(is_array($conf)){
|
||||||
echo "<table>";
|
echo "<table>";
|
||||||
|
Loading…
Reference in New Issue
Block a user