diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-26 00:44:22 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-11-26 00:44:22 +0000 |
commit | da4199c418dae544e29bea8bc44801de778e29f1 (patch) | |
tree | 2fc8814157cb06d472b8ed69de58af2a9ae89288 /admin | |
parent | a26521f943b46c15059142b2e8d32f03a8a2f747 (diff) | |
download | ampache-da4199c418dae544e29bea8bc44801de778e29f1.tar.gz ampache-da4199c418dae544e29bea8bc44801de778e29f1.tar.bz2 ampache-da4199c418dae544e29bea8bc44801de778e29f1.zip |
fixed a missing ob_end_flush() on the catalog create
Diffstat (limited to 'admin')
-rw-r--r-- | admin/catalog.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/admin/catalog.php b/admin/catalog.php index 7e37c32e..9a873d17 100644 --- a/admin/catalog.php +++ b/admin/catalog.php @@ -19,7 +19,7 @@ */ -require '../lib/init.php'; +require_once '../lib/init.php'; if (!$GLOBALS['user']->has_access(100)) { access_denied(); @@ -158,6 +158,8 @@ switch ($_REQUEST['action']) { /* Wah Demo! */ if (Config::get('demo_mode')) { break; } + ob_end_flush(); + if (!strlen($_REQUEST['path']) || !strlen($_REQUEST['name'])) { Error::add('general','Error Name and path not specified'); } @@ -173,7 +175,7 @@ switch ($_REQUEST['action']) { // If an error hasn't occured if (!Error::$state) { - $catalog_id = Catalog::create($_REQUEST); + $catalog_id = Catalog::Create($_REQUEST); if (!$catalog_id) { require Config::get('prefix') . '/templates/show_add_catalog.inc.php'; |