updated core to 7.37
This commit is contained in:
@@ -5,8 +5,8 @@ package = Testing
|
||||
version = VERSION
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2015-04-02
|
||||
version = "7.36"
|
||||
; Information added by Drupal.org packaging script on 2015-05-07
|
||||
version = "7.37"
|
||||
project = "drupal"
|
||||
datestamp = "1427943826"
|
||||
datestamp = "1430973154"
|
||||
|
||||
|
@@ -6,8 +6,8 @@ version = VERSION
|
||||
core = 7.x
|
||||
files[] = translation.test
|
||||
|
||||
; Information added by Drupal.org packaging script on 2015-04-02
|
||||
version = "7.36"
|
||||
; Information added by Drupal.org packaging script on 2015-05-07
|
||||
version = "7.37"
|
||||
project = "drupal"
|
||||
datestamp = "1427943826"
|
||||
datestamp = "1430973154"
|
||||
|
||||
|
@@ -428,7 +428,7 @@ function translation_node_delete($node) {
|
||||
* A node object.
|
||||
*/
|
||||
function translation_remove_from_set($node) {
|
||||
if (isset($node->tnid)) {
|
||||
if (isset($node->tnid) && $node->tnid) {
|
||||
$query = db_update('node')
|
||||
->fields(array(
|
||||
'tnid' => 0,
|
||||
|
Reference in New Issue
Block a user