]> git.mjollnir.org Git - s9y.git/commitdiff
Uninitialized variable
authorgarvinhicking <garvinhicking>
Fri, 29 Jul 2005 10:02:41 +0000 (10:02 +0000)
committergarvinhicking <garvinhicking>
Fri, 29 Jul 2005 10:02:41 +0000 (10:02 +0000)
serendipity_xmlrpc.php

index 05e9bb321d5a434c44a517adcdb2c2bc1bc04cde..222f0b9778d69ccf563ce200b265c5b173235d64 100644 (file)
@@ -560,8 +560,8 @@ function universal_setEntry(&$entry, &$tmp) {
         'mt_convert_breaks' => new XML_RPC_Value('', 'string'),
         'mt_keywords'       => new XML_RPC_Value('', 'string'),
         'title'             => new XML_RPC_Value($entry['title'],'string'),
-        'permalink'         => new XML_RPC_Value(serendipity_rewriteURL(PATH_ARCHIVES.'/' . $postid . '_.html', 'baseURL'), 'string'),
-        'link'              => new XML_RPC_Value(serendipity_rewriteURL(PATH_ARCHIVES.'/' . $postid . '_.html', 'baseURL'), 'string'),
+        'permalink'         => new XML_RPC_Value(serendipity_rewriteURL(PATH_ARCHIVES.'/' . $entry['id']. '_.html', 'baseURL'), 'string'),
+        'link'              => new XML_RPC_Value(serendipity_rewriteURL(PATH_ARCHIVES.'/' . $entry['id'] . '_.html', 'baseURL'), 'string'),
     );
 
     return array_merge($entry, $tmp);