<?php

/**
 * This AJAX request serves the purpose of getting the entries for a given
 * bvl_feedback thread.
 *
 * PHP version 5
 *
 * @category Behavioural
 * @package  Main
 * @author   Evan McIlroy <*****@*****.**>
 * @license  GPLv3 <http://www.gnu.org/licenses/gpl-3.0.en.html>
 * @link     https://www.github.com/aces/Loris-Trunk/
 */
header("content-type:application/json");
require "bvl_panel_ajax.php";
if (isset($_GET['feedbackID']) && !empty($_GET['feedbackID'])) {
    $threadEntries = NDB_BVL_Feedback::getThreadEntries($_GET['feedbackID']);
    print json_encode($threadEntries);
}
exit;