]> git.mjollnir.org Git - s9y.git/commitdiff
fix entry id
authorgarvinhicking <garvinhicking>
Mon, 20 Feb 2006 13:44:02 +0000 (13:44 +0000)
committergarvinhicking <garvinhicking>
Mon, 20 Feb 2006 13:44:02 +0000 (13:44 +0000)
include/functions_config.inc.php

index 9dcd0c9c548e4d48d26f228d98a48b55ded29c09..9e25b995ff74cc075edb0aba347c9e9af17f476e 100644 (file)
@@ -571,7 +571,7 @@ function serendipity_iframe(&$entry, $mode = null, $use_smarty = true) {
                     // it needs to be stored with the new ID.
                     echo '<script type="text/javascript">parent.document.forms[\'serendipityEntry\'][\'serendipity[id]\'].value = "' . $serendipity['lastSavedEntry'] . '";</script>';
                 }
-                $entrylink = serendipity_archiveURL($entry['id'], $entry['title'], 'serendipityHTTPPath', true, array('timestamp' => $entry['timestamp']));
+                $entrylink = serendipity_archiveURL($res, $entry['title'], 'serendipityHTTPPath', true, array('timestamp' => $entry['timestamp']));
                 echo '<div class="serendipityAdminMsgSuccess">' . ENTRY_SAVED . ' (<a href="' . $entrylink . '" target="_blank">' . VIEW . '</a>)</div>';
             }
             echo '<br style="clear: both" />';