Commit fbfde433 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

#56789, remove left over call to node_title_validate, patch by chx

parent 4a687488
......@@ -103,8 +103,6 @@ function poll_submit(&$node) {
* Implementation of hook_validate().
*/
function poll_validate($node) {
node_validate_title($node, t('You have to specify a question.'));
if (isset($node->title)) {
// Check for at least two options and validate amount of votes:
$realchoices = 0;
......
......@@ -103,8 +103,6 @@ function poll_submit(&$node) {
* Implementation of hook_validate().
*/
function poll_validate($node) {
node_validate_title($node, t('You have to specify a question.'));
if (isset($node->title)) {
// Check for at least two options and validate amount of votes:
$realchoices = 0;
......
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