From 2c3143307dd23e89da3033bc089dfd816ab62161 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Tue, 28 Aug 2001 17:03:31 +0000 Subject: [PATCH] Try this section => sect changes as there are no table information anywhere, so I can only guess from the bin/user-notes.php code, what is the problem... --- include/shared-manual.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/shared-manual.inc b/include/shared-manual.inc index f92d97a33..528bc6f74 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -174,7 +174,7 @@ function manualGetUserNotes($title, $id) { $notes = array(); if (is_primary_site() && @mysql_connect("localhost","nobody","")) { mysql_select_db("php3"); - $query = "SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE section='$id' AND NOT removed ORDER BY id"; + $query = "SELECT *,UNIX_TIMESTAMP(ts) AS xwhen FROM note WHERE sect='$id' AND NOT removed ORDER BY id"; $result_id = mysql_query($query); if ($result_id && mysql_num_rows($result_id) > 0) { while ($row = mysql_fetch_array($result_id)) {