summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2012-11-25 20:32:59 +0100
committerINOPIAE <inopiae@cacert.org>2012-11-25 20:32:59 +0100
commitc2b222a40ec6d43e8bc35dd6dc38b44bde11f7c9 (patch)
tree2a5a2194714c4b33b4da55bbd99b99cd0deada85
parentb02d5765888a5573d58ff43959a1e1c8879395e7 (diff)
downloadcacert-devel-c2b222a40ec6d43e8bc35dd6dc38b44bde11f7c9.tar.gz
cacert-devel-c2b222a40ec6d43e8bc35dd6dc38b44bde11f7c9.tar.xz
cacert-devel-c2b222a40ec6d43e8bc35dd6dc38b44bde11f7c9.zip
bug 782: added missing backticks around field names
-rw-r--r--pages/account/6.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/6.php b/pages/account/6.php
index e76ef06..1436308 100644
--- a/pages/account/6.php
+++ b/pages/account/6.php
@@ -18,7 +18,7 @@
<?
$certid = 0; if(array_key_exists('cert',$_REQUEST)) $certid=intval($_REQUEST['cert']);
- $query = "select * from `emailcerts` where `id`='$certid' and `memid`='".intval($_SESSION['profile']['id'])."'";
+// $query = "select * from `emailcerts` where `id`='$certid' and `memid`='".intval($_SESSION['profile']['id'])."'";
$query = "select UNIX_TIMESTAMP(`emailcerts`.`created`) as `created`,
UNIX_TIMESTAMP(`emailcerts`.`expire`) - UNIX_TIMESTAMP() as `timeleft`,
UNIX_TIMESTAMP(`emailcerts`.`expire`) as `expired`,
@@ -28,7 +28,7 @@
`emailcerts`.`id`,
`emailcerts`.`CN`,
`emailcerts`.`serial`,
- emailcerts.disablelogin as `disablelogin`,
+ `emailcerts`.`disablelogin` as `disablelogin`,
`emailcerts`.`crt_name`,
`emailcerts`.`keytype`,
`emailcerts`.`description`