Issue #2481373: Fixed error when assigning new asset location.

This commit is contained in:
Michael Stenta 2015-05-01 08:49:50 -04:00
parent e0d06f2038
commit 99f62a6d8c
1 changed files with 2 additions and 2 deletions

View File

@ -564,7 +564,7 @@ function farm_log_asset_move_action(array $assets, $context = array()) {
/**
* Move farm asset(s) to an area. Creates a movement log.
*
* @param array $assets
* @param array|FarmAsset $assets
* Array of assets to include in the move.
* @param int $area_id
* The id of the area to move to.
@ -573,7 +573,7 @@ function farm_log_asset_move_action(array $assets, $context = array()) {
* @param bool $done
* Whether or not to mark the movement done. Default to FALSE.
*/
function farm_log_move_assets(array $assets, $area_id, $timestamp, $done = FALSE) {
function farm_log_move_assets($assets, $area_id, $timestamp, $done = FALSE) {
// If $assets isn't an array, wrap it.
if (!is_array($assets)) {