diff --git a/pages/account/28.php b/pages/account/28.php index 9386ae1..bc96364 100644 --- a/pages/account/28.php +++ b/pages/account/28.php @@ -16,7 +16,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> - $query = "select * from `orginfo` where `id`='".intval($_REQUEST[orgid])."'"; + $query = "select * from `orginfo` where `id`='".intval($_REQUEST['orgid'])."'"; $row = mysql_fetch_assoc(mysql_query($query)); ?>
diff --git a/pages/index/4.php b/pages/index/4.php index 7009650..365f641 100644 --- a/pages/index/4.php +++ b/pages/index/4.php @@ -15,7 +15,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ ?> -=$_SERVER['SSL_CLIENT_M_SERIAL']?> + if($_SESSION['_config']['hostname'] == $_SESSION['_config']['securehostname']) { ?>=_("Warning! You've attempted to log into the system with a client certificate, but the login failed due to the certificate being expired, revoked, disabled for certificate login, or simply not valid for this site. You can login using your Email/Pass Phrase to get a new certificate, by clicking on 'Normal Login' to the right of your screen.")?>
} else { ?> @@ -30,11 +30,11 @@ h1 {font-size:1.9em;text-align:center;}