aboutsummaryrefslogtreecommitdiffstats
path: root/doc/sql_conventions.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sql_conventions.bb')
-rw-r--r--doc/sql_conventions.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sql_conventions.bb b/doc/sql_conventions.bb
index 88539ae19..2deb3cff6 100644
--- a/doc/sql_conventions.bb
+++ b/doc/sql_conventions.bb
@@ -10,7 +10,7 @@ Worth Repeating: Don't use non-standard SQL. This goes for addons as well. If yo
To be written
[code]// Example
$r = q("SELECT * FROM profile WHERE uid = %d",
- local_user()
+ local_channel()
);
[/code][/li]