Add lastentry to the list of vars to reset. Fix from 2fargon for bug 00002222.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-08-17 18:42:22 +00:00
parent c00c69e9d5
commit 17a630d374
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
require_once('../wp-config.php'); require_once('../wp-config.php');
require('upgrade-functions.php'); require('upgrade-functions.php');
$wpvarstoreset = array('action', 'gmpath', 'archivespath'); $wpvarstoreset = array('action', 'gmpath', 'archivespath', 'lastentry');
for ($i=0; $i<count($wpvarstoreset); $i += 1) { for ($i=0; $i<count($wpvarstoreset); $i += 1) {
$wpvar = $wpvarstoreset[$i]; $wpvar = $wpvarstoreset[$i];
if (!isset($$wpvar)) { if (!isset($$wpvar)) {