mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Bugtracker #4244 - trackback caching related - thanks Shirka
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/trackback/trackbackClass.php,v $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-01-29 20:23:49 $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-12-08 14:49:44 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -152,10 +152,14 @@ class trackbackClass
|
||||
|
||||
if(!$errorMessage)
|
||||
{
|
||||
if(!$sql -> db_Insert("trackback", "0, $pid, '$title', '$excerpt', '$permLink', '$blog_name' "))
|
||||
{
|
||||
$errorMessage = "Unable to enter your trackback information into the database -> 0, $pid, '$title', '$excerpt', '$permLink', '$blog_name'";
|
||||
}
|
||||
if(!$sql -> db_Insert("trackback", "0, {$pid}, '{$title}', '{$excerpt}', '{$permLink}', '{$blog_name}' "))
|
||||
{
|
||||
$errorMessage = "Unable to enter your trackback information into the database -> 0, {$pid}, '{$title}', '{$excerpt}', '{$permLink}', '{$blog_name}'";
|
||||
}
|
||||
else
|
||||
{
|
||||
e107cache->clear("comment.php?news.{$pid}");
|
||||
}
|
||||
}
|
||||
|
||||
if($errorMessage)
|
||||
|
Reference in New Issue
Block a user