More exception handling
This commit is contained in:
parent
b04afaec2c
commit
203378e60a
2 changed files with 5 additions and 1 deletions
|
@ -1095,7 +1095,8 @@ class Application_Model_Preference
|
|||
public static function getCurrentLibraryTableSetting()
|
||||
{
|
||||
$v = self::getValue("library_datatable");
|
||||
if( $v === '' ) {
|
||||
|
||||
if ( $v === '' ) {
|
||||
return function ($x) { return $x; };
|
||||
} else {
|
||||
$ds = unserialize($v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue