]> git.mjollnir.org Git - s9y.git/commitdiff
Fix borkage when posting an entry
authorgarvinhicking <garvinhicking>
Mon, 10 Apr 2006 07:21:35 +0000 (07:21 +0000)
committergarvinhicking <garvinhicking>
Mon, 10 Apr 2006 07:21:35 +0000 (07:21 +0000)
docs/NEWS
include/functions_config.inc.php
include/functions_entries.inc.php

index 165a6ad7b141ec7e8927975cf57d7e6155acf218..f06f5ab1e5cc7b79137355521061ec2383d0c5b0 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -13,6 +13,7 @@ Version 1.1-alpha1()
         - Move images/directories
         - Also delete properties when deleting an image
         - Create Smarty functions to access media properties by ID/filename
+        - Make media selector smartyfied
 
    * Added directory tree view widget (JS) to the Media Selector
      (garvinhicking)
index b1da2d1647b2c94ce79369f6e8967c413ff48f6b..576df28830bbcfb6daba8e991996a39bc6679a67 100644 (file)
@@ -519,7 +519,7 @@ function serendipity_is_iframe() {
     global $serendipity;
 
     if ($serendipity['GET']['is_iframe'] && is_array($_SESSION['save_entry'])) {
-        include S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
+        include_once S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
         // An iframe may NOT contain <html> and </html> tags, that's why we emit different headers here than on serendipity_admin.php
 
         // We need to restore GET/POST variables to that depending plugins inside the iframe
index 03a074ebc442bb71e25cf6da5ee380b689fd86b3..9d1e62179550456fa995c8dfffcef2101b913216 100644 (file)
@@ -1065,7 +1065,7 @@ function serendipity_purgeEntry($id, $timestamp = null) {
 function serendipity_updertEntry($entry) {
     global $serendipity;
 
-    include S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
+    include_once S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
 
     $errors = array();
     serendipity_plugin_api::hook_event('backend_entry_updertEntry', $errors, $entry);