Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv24014
Modified Files:
serendipity_functions.inc.php
Log Message:
Fixed bug: Don't send trackbacks when making drafts
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -d -r1.150 -r1.151
--- serendipity_functions.inc.php 11 Sep 2003 07:53:48 -0000 1.150
+++ serendipity_functions.inc.php 12 Sep 2003 21:26:07 -0000 1.151
@@ -1562,16 +1562,13 @@
$res = serendipity_db_update('entries', array('id' => $entry['id']), $entry);
$newEntry = 0;
}
-
+
if (is_string($res)) {
return $res;
}
- if($exflag) {
+ if ( $entry['isdraft'] == 'false' ) {
serendipity_handle_references($entry['id'], $serendipity['blogTitle'], $entry['title'], $entry['body'] . $entry['extended'], $newEntry);
- }
- else {
- serendipity_handle_references($entry['id'], $serendipity['blogTitle'], $entry['title'], $entry['body'], $newEntry);
}
serendipity_purgeEntry($entry['id'], $entry['timestamp']);
|