Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -414,14 +414,31 @@ Filter
|
||||
{
|
||||
if( isset( $this->_data['small_file_name'] ) AND $this->_data['small_file_name'] )
|
||||
{
|
||||
return $this->_data['small_file_name'];
|
||||
return $this->_data['small_file_name'] ?? '';
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->masked_file_name;
|
||||
return $this->masked_file_name ?? '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function get_masked_file_name() : string
|
||||
{
|
||||
/* Make sure this never returns null */
|
||||
return $this->_data['masked_file_name'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function get_original_file_name() : string
|
||||
{
|
||||
return $this->_data['original_file_name'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Cached URLs
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user