Fix for timestamp on pipelined assets

This commit is contained in:
Andy Miller
2017-09-15 11:24:46 -06:00
parent ab721de49c
commit c1c458a934

View File

@@ -1373,13 +1373,17 @@ class Assets
*
* @return string
*/
public function getTimestamp()
public function getTimestamp($include_join = true)
{
return $this->timestamp;
if ($this->timestamp) {
$timestamp = $include_join ? '?' . $this->timestamp : $this->timestamp;
return $timestamp;
}
return;
}
/**
* Get the full query string including any query params and timestamp
*
*
* @param $asset
* @return string