Permalink
Browse files

Fixed wsod. Version bump. Updated changes.

  • Loading branch information...
brettp committed May 12, 2012
1 parent d89fef3 commit 7ae0a91151a0b3a16ebb3df3376c913d37f420bb
Showing with 7 additions and 2 deletions.
  1. +5 −0 CHANGES.txt
  2. +1 −1 manifest.xml
  3. +1 −1 views/default/forms/anypage/save.php
View
@@ -1,3 +1,8 @@
+Version 1.2
+(??? from https://github.com/brettp/anypage)
+ * Fixed WSOD when creating a new page.
+ * Removed activate on install because it was breaking Elgg install.
+
Version 1.1
(May 6th, 2012 from https://github.com/brettp/anypage)
View
@@ -2,7 +2,7 @@
<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
<name>Anypage</name>
<author>Brett Profitt</author>
- <version>1.1</version>
+ <version>1.2</version>
<category>content</category>
<blurb>Add any page to your site.</blurb>
<description>Admins can define pages on their site.</description>
@@ -37,7 +37,7 @@
}
// add warning if there is a page handler conflict
- if (AnyPage::hasPageHandlerConflict($entity->getPagePath())) {
+ if ($entity && AnyPage::hasPageHandlerConflict($entity->getPagePath())) {
$module_title = elgg_echo('anypage:warning');
$msg = elgg_echo('anypage:page_handler_conflict');
echo elgg_view_module('info', $module_title, $msg, array('class' => 'anypage-message pvm elgg-message elgg-state-error'));

0 comments on commit 7ae0a91

Please sign in to comment.