* fixed a small bug.

3-00
Dries Buytaert 2000-10-18 07:48:52 +00:00
parent 68d443831d
commit 43af5a7389
1 changed files with 2 additions and 2 deletions

View File

@ -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: