summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-10-18 07:48:52 +0000
committerDries Buytaert <dries@buytaert.net>2000-10-18 07:48:52 +0000
commit43af5a7389265891770e4a283e4748678754797f (patch)
tree3e404ed88b464704b9fc846f57cb0872c6603ec3 /includes
parent68d443831daf3313b99881f50a01c7dce44232be (diff)
downloadbrdo-43af5a7389265891770e4a283e4748678754797f.tar.gz
brdo-43af5a7389265891770e4a283e4748678754797f.tar.bz2
* fixed a small bug.
Diffstat (limited to 'includes')
-rw-r--r--includes/backend.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/backend.inc b/includes/backend.inc
index bbc4ece0b..910edc406 100644
--- a/includes/backend.inc
+++ b/includes/backend.inc
@@ -104,13 +104,13 @@ class backend {
$title = ereg_replace("</title>.*", "", $title);
### Clean headlines:
- $title = stripslashes(check_input($title));
+ $title = stripslashes($title);
### Count the number of stories:
$number += 1;
### Insert item in database:
- $result = db_query("INSERT INTO headlines (id, title, link, number) VALUES('$this->id', '$title', '$link', '$number')");
+ $result = db_query("INSERT INTO headlines (id, title, link, number) VALUES('$this->id', '". stripslashes($title) ."', '". stripslashes($link) ."', '$number')");
}
### Mark channels as being updated: