- Bugfix: fixed bug #1627.
parent
1c38cd9099
commit
1f91ef891e
|
@ -986,11 +986,6 @@ function node_validate($node, &$error) {
|
||||||
unset($node->created);
|
unset($node->created);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workflow:
|
|
||||||
if ($node->moderate == 1) {
|
|
||||||
$node->promote = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Do node type specific validation checks.
|
** Do node type specific validation checks.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -986,11 +986,6 @@ function node_validate($node, &$error) {
|
||||||
unset($node->created);
|
unset($node->created);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Workflow:
|
|
||||||
if ($node->moderate == 1) {
|
|
||||||
$node->promote = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Do node type specific validation checks.
|
** Do node type specific validation checks.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue