Skip to content

Commit

Permalink
Merge pull request #330 from Nubay-Services/master
Browse files Browse the repository at this point in the history
Add script to vendor/bin folder
  • Loading branch information
gianluigi-icit committed Jun 23, 2020
2 parents bc9f391 + 5fdb630 commit e71e0b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"phpunit"
]
},
"bin": [ "srdb.cli.php" ],
"autoload": {
"files": [ "srdb.class.php" ]
}
Expand Down
2 changes: 2 additions & 0 deletions srdb.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,8 @@ public function recursive_unserialize_replace( $from = '', $to = '', $data = '',
return serialize( $data );
}

} catch ( Error $error ) {
$this->add_error( $error->getMessage(), 'results');
} catch ( Exception $error ) {
$this->add_error( $error->getMessage() . ':: This is usually caused by a plugin storing classes as a
serialised string which other PHP classes can\'t then access. It is not possible to unserialise this data
Expand Down

0 comments on commit e71e0b2

Please sign in to comment.