projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed typo in location variable.
[fa-stable.git]
/
includes
/
JsHttpRequest.php
diff --git
a/includes/JsHttpRequest.php
b/includes/JsHttpRequest.php
index c0a2036a35fac4a643d0e07254529f6b48a4d3a7..1ef9a815e65ae288e980250a112a533e5daa7279 100644
(file)
--- a/
includes/JsHttpRequest.php
+++ b/
includes/JsHttpRequest.php
@@
-15,7
+15,7
@@
* This backend library also supports POST requests additionally to GET.
*
* @author Dmitry Koterov
* This backend library also supports POST requests additionally to GET.
*
* @author Dmitry Koterov
- * @version 5.x
$Id$
+ * @version 5.x
*/
class JsHttpRequest
*/
class JsHttpRequest
@@
-230,12
+230,12
@@
class JsHttpRequest
$result = array();
if ($isList) {
foreach ($a as $v) {
$result = array();
if ($isList) {
foreach ($a as $v) {
- $result[] =
JsHttpRequest::
php2js($v);
+ $result[] =
$this->
php2js($v);
}
return '[ ' . join(', ', $result) . ' ]';
} else {
foreach ($a as $k => $v) {
}
return '[ ' . join(', ', $result) . ' ]';
} else {
foreach ($a as $k => $v) {
- $result[] =
JsHttpRequest::php2js($k) . ': ' . JsHttpRequest::
php2js($v);
+ $result[] =
$this->php2js($k) . ': ' . $this->
php2js($v);
}
return '{ ' . join(', ', $result) . ' }';
}
}
return '{ ' . join(', ', $result) . ' }';
}