You are here

function _feedback_get_page in Feedback 5

2 calls to _feedback_get_page()
feedback_mail_page in ./feedback.module
Site-wide feedback page
feedback_settings_form in ./feedback.module
Shows a form for editing a feedback page

File

./feedback.module, line 529
Enables a site-wide feedback page.

Code

function _feedback_get_page($name) {
  $result = db_query("SELECT * from {feedback_pages} WHERE name = '%s'", $name);
  if ($row = db_fetch_array($result)) {
    $row += (array) unserialize($row['data']);
    unset($row['data']);
  }
  return (object) $row;
}