issues encountered whilst testing import_items module using yearly dump files

This commit is contained in:
redmatrix 2015-08-17 21:56:55 -07:00
parent ea331b043c
commit abe362bdd4
2 changed files with 2 additions and 3 deletions

View File

@ -85,10 +85,9 @@ function import_items_post(&$a) {
$channel = $a->get_channel();
$saved_notification_flags = notifications_off($channel['channel_id']);
if($import_posts && array_key_exists('item',$data) && $data['item']) {
if(array_key_exists('item',$data) && $data['item']) {
foreach($data['item'] as $i) {
$item = get_item_elements($i);

View File

@ -1,6 +1,6 @@
<h2>{{$title}}</h2>
<form action="import" method="post" enctype="multipart/form-data" id="import-channel-form">
<form action="import_items" method="post" enctype="multipart/form-data" id="import-channel-form">
<div id="import-desc" class="descriptive-paragraph">{{$desc}}</div>