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

4.7.x
Gerhard Killesreiter 2006-04-01 14:29:53 +00:00
parent 4a68748802
commit fbfde43332
2 changed files with 0 additions and 4 deletions

View File

@ -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;

View File

@ -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;