[geeklog-cvs] geeklog: removed single quotes from int value
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jan 30 03:40:00 EST 2010
changeset 7678:07d3c892a725
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/07d3c892a725
user: stan
date: Tue Jan 26 19:41:56 2010 -0500
description:
removed single quotes from int value
diffstat:
public_html/usersettings.php | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 7986a35165e5 -r 07d3c892a725 public_html/usersettings.php
--- a/public_html/usersettings.php Tue Jan 26 19:40:48 2010 -0500
+++ b/public_html/usersettings.php Tue Jan 26 19:41:56 2010 -0500
@@ -1449,8 +1449,7 @@
if (empty ($etids)) {
$etids = '-';
}
- DB_save($_TABLES['userindex'],"uid,tids,aids,boxes,noboxes,maxstories,etids","'{$_USER['uid']}','$tids','$aids','$selectedblocks','{$A['noboxes']}',{$A['maxstories']},'$etids'");
-
+ DB_save($_TABLES['userindex'],"uid,tids,aids,boxes,noboxes,maxstories,etids","{$_USER['uid']},'$tids','$aids','$selectedblocks','{$A['noboxes']}',{$A['maxstories']},'$etids'");
$A['commentmode'] = COM_applyFilter ($A['commentmode']);
if (empty ($A['commentmode'])) {
$A['commentmode'] = $_CONF['comment_mode'];
@@ -1468,8 +1467,7 @@
$A['commentlimit'] = $_CONF['comment_limit'];
}
- DB_save($_TABLES['usercomment'],'uid,commentmode,commentorder,commentlimit',"'{$_USER['uid']}','{$A['commentmode']}','{$A['commentorder']}','{$A['commentlimit']}'");
-
+ DB_save($_TABLES['usercomment'],'uid,commentmode,commentorder,commentlimit',"{$_USER['uid']},'{$A['commentmode']}','{$A['commentorder']}','{$A['commentlimit']}'");
PLG_userInfoChanged ($_USER['uid']);
}
More information about the geeklog-cvs
mailing list