Commit b8f457cb authored by rohit.wadhwa's avatar rohit.wadhwa Committed by DamienMcKenna

Issue #2329655 by rohit.wadhwa: PHP 5.4 strict warning: Only variables should...

Issue #2329655 by rohit.wadhwa: PHP 5.4 strict warning: Only variables should be passed by reference in backup_migrate\includes\crud.inc on line 269.
parent 7c63d2a8
......@@ -462,7 +462,9 @@ class backup_migrate_item {
if (!$this->get_id()) {
$this->unique_id();
}
drupal_write_record($this->db_table, $this->to_array(), !empty($this->storage) ? $this->get_primary_key() : array());
$table = $this->db_table;
$data = $this->to_array();
drupal_write_record($table, $data, !empty($this->storage) ? $this->get_primary_key() : array());
}
/**
......
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