diff --git a/ag/info.php b/ag/info.php index b1334e9..95802cf 100644 --- a/ag/info.php +++ b/ag/info.php @@ -112,6 +112,9 @@ function display2($user_id, $userage, $user_ida){ } else{ $user_a = mysql_fetch_assoc(mysql_query('SELECT * FROM user WHERE id='.$user_id)); } + if(!is_numeric($user_id)) { + $user_id = $user_a['id']; + } ?>