projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b56d935
)
Make sure deleted folders are strings
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Aug 2010 06:22:42 +0000
(
00:22
-0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 11 Aug 2010 06:22:44 +0000
(
00:22
-0600)
Or else, javascript functions may fail since Number.prototype does not
have the same method list as String.prototype.
imp/lib/Ajax/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Ajax/Application.php
b/imp/lib/Ajax/Application.php
index
8e25675
..
71b19d2
100644
(file)
--- a/
imp/lib/Ajax/Application.php
+++ b/
imp/lib/Ajax/Application.php
@@
-1970,7
+1970,7
@@
class IMP_Ajax_Application extends Horde_Core_Ajax_Application
}
if (!empty($changes['d'])) {
- $result['d'] = array_
reverse($changes['d']
);
+ $result['d'] = array_
map('strval', array_reverse($changes['d'])
);
}
return $result;