function feedback_load in Feedback 7.2
Same name and namespace in other branches
- 5.2 feedback.module \feedback_load()
- 6.2 feedback.module \feedback_load()
Loads a feedback entry from the database.
Parameters
$fid: Integer specifying the feedback ID to load.
Return value
A loaded feedback entry object upon successful load, or FALSE if the entry cannot be loaded.
See also
1 call to feedback_load()
- feedback_entry_form_submit in ./
feedback.admin.inc - Form submit callback for entry edit form.
File
- ./
feedback.module, line 491 - Allows site visitors and users to report issues about this site.
Code
function feedback_load($fid) {
$entries = feedback_load_multiple(array(
$fid,
));
return isset($entries[$fid]) ? $entries[$fid] : FALSE;
}