Commit a6dff291 authored by Thomas Brace's avatar Thomas Brace
Browse files

Fix function name

parent 63b72312
......@@ -881,7 +881,7 @@ if(!function_exists('get_pollvoters')) {
### Function: Get Poll Timestamp Based on Poll ID
if(!function_exists('get_polltimestamp')) {
function get_pollvotes_by_id($poll_id, $display = true) {
function get_polltimestamp($poll_id, $display = true) {
global $wpdb;
$poll_id = (int) $poll_id;
$timestamp = (int) $wpdb->get_var("SELECT pollq_timestamp FROM $wpdb->pollsq WHERE pollq_id = %d LIMIT 1", $poll_id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment