Commit e632378b authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #233 in ZP/z-push from...

Merge pull request #233 in ZP/z-push from bugfix/ZP-905-kopanochangeswrapper-throws-fatal to develop

* commit '028d66d8':
  ZP-905 Assign to variable before checking with empty().
parents c217f909 028d66d8
......@@ -72,7 +72,8 @@ class ReplyBackState extends StateObject {
* @param mixed $state
*/
static public function ToState($state) {
if (!empty($state->GetReplyBackState())) {
$rbs = $state->GetReplyBackState();
if (!empty($rbs)) {
return serialize($state);
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment