]> git.mjollnir.org Git - s9y.git/commitdiff
Thanks to Stephan herman for detecting missing include
authorgarvinhicking <garvinhicking>
Tue, 6 Sep 2005 18:00:05 +0000 (18:00 +0000)
committergarvinhicking <garvinhicking>
Tue, 6 Sep 2005 18:00:05 +0000 (18:00 +0000)
comment.php
include/functions_entries.inc.php

index 1647c711d796473feacfe540baf2339f04442a2c..f849e142f6741ca69d930eca45851513849192f8 100644 (file)
@@ -3,6 +3,8 @@
 # All rights reserved.  See LICENSE file for licensing details
 
 include_once('serendipity_config.inc.php');
+include_once S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
+
 header('Content-Type: text/html; charset=' . LANG_CHARSET);
 
 if (isset($serendipity['GET']['delete'], $serendipity['GET']['entry'], $serendipity['GET']['type'])) {
index e42f453e7a51de9fa973b597929b5ee85c5671b1..f14e28e47b1d63f09e7f4a39f3404aae419c508c 100644 (file)
@@ -774,6 +774,8 @@ function serendipity_purgeEntry($id, $timestamp = null) {
 function serendipity_updertEntry($entry) {
     global $serendipity;
 
+    include_once S9Y_INCLUDE_PATH . 'include/functions_entries_admin.inc.php';
+
     $errors = array();
     serendipity_plugin_api::hook_event('backend_entry_updertEntry', $errors, $entry);
     if (count($errors) > 0) {