Changeset 526 for trunk/lib/Lock.inc.php


Ignore:
Timestamp:
Jun 17, 2015 11:47:23 PM (9 years ago)
Author:
anonymous
Message:

Enabled App to load version from json file. Lock URL fixed to permit additional query arguments. Return array instead of object for Prefs cookie json.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Lock.inc.php

    r523 r526  
    377377        $app =& App::getInstance();
    378378
    379         $app->dieURL(sprintf('%s?lock_id=%s&boomerang=%s', $this->getParam('error_url'), $this->data['lock_id'], urlencode(absoluteMe())));
     379        $app->dieURL($this->getParam('error_url'), array('lock_id' => $this->data['lock_id'], 'boomerang' => urlencode(absoluteMe())));
    380380    }
    381381
Note: See TracChangeset for help on using the changeset viewer.