1
0

fix for autosave

This commit is contained in:
Garvin Hicking
2011-09-09 09:24:23 +00:00
parent d83bb9fe16
commit d405035d40
2 changed files with 6 additions and 2 deletions

@ -7,6 +7,9 @@ Version 1.7 ()
Version 1.6 () Version 1.6 ()
------------------------------------------------------------------------ ------------------------------------------------------------------------
* Fix problem with autosave plugin used in conjunction with
entryproperties (chrisbra)
* Removed browsercompatibilitty plugin because it's outdated and * Removed browsercompatibilitty plugin because it's outdated and
IE6 shall be dead. IE6 shall be dead.

@ -251,10 +251,11 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
} }
echo $data; echo $data;
} else if ( preg_match(PAT_COMMENTSUB, $uri, $matches) || } else if ( (preg_match(PAT_COMMENTSUB, $uri, $matches) ||
preg_match(PAT_PERMALINK, $uri, $matches) || preg_match(PAT_PERMALINK, $uri, $matches) ||
isset($serendipity['GET']['id']) || isset($serendipity['GET']['id']) ||
isset($_GET['p']) ) { isset($_GET['p']))
&& !preg_match('/autosave/', $serendipity['uriArguments'][1]) ) {
$serendipity['view'] = 'entry'; $serendipity['view'] = 'entry';
if (isset($serendipity['GET']['id'])) { if (isset($serendipity['GET']['id'])) {