| Subject: | rpms/php-pear/devel relocate.php,1.2,1.3 |
|---|---|
| From: | |
| Date: | Mon, 5 Feb 2007 07:48:00 -0500 |
Author: jorton
Update of /cvs/dist/rpms/php-pear/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17573
Modified Files:
relocate.php
Log Message:
- relocate array keys safely
Index: relocate.php
===================================================================
RCS file: /cvs/dist/rpms/php-pear/devel/relocate.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- relocate.php 5 Feb 2007 12:33:03 -0000 1.2
+++ relocate.php 5 Feb 2007 12:47:58 -0000 1.3
@@ -37,7 +37,9 @@
$result = array();
foreach ($array as $key => $value) {
- $key = relocate_string($key);
+ if (is_string($key)) {
+ $key = relocate_string($key);
+ }
$result[$key] = relocate_value($value);
}
--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | rpms/ruby/FC-5 .cvsignore, 1.17, 1.18 ruby-rubyprefix.patch, 1.1, 1.2 ruby.spec, 1.65, 1.66 sources, 1.16, 1.17 ruby-1.8.5-hash-memory-leak.patch, 1.1, NONE, fedora-cvs-commits |
|---|---|
| Next by Date: | rpms/lcms/devel lcms.spec,1.7,1.8, fedora-cvs-commits |
| Previous by Thread: | rpms/ruby/FC-5 .cvsignore, 1.17, 1.18 ruby-rubyprefix.patch, 1.1, 1.2 ruby.spec, 1.65, 1.66 sources, 1.16, 1.17 ruby-1.8.5-hash-memory-leak.patch, 1.1, NONE, fedora-cvs-commits |
| Next by Thread: | rpms/lcms/devel lcms.spec,1.7,1.8, fedora-cvs-commits |
| Indexes: | [Date] [Thread] [Top] [All Lists] |