OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba13113
)
strict comparison for 'runtime' key. see #277
author
scribu
<mail@scribu.net>
Wed, 23 Jan 2013 03:37:39 +0000
(
05:37
+0200)
committer
scribu
<mail@scribu.net>
Wed, 23 Jan 2013 03:37:39 +0000
(
05:37
+0200)
php/WP_CLI/Runner.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/Runner.php
b/php/WP_CLI/Runner.php
index
9876d31
..
ce1287e
100644
(file)
--- a/
php/WP_CLI/Runner.php
+++ b/
php/WP_CLI/Runner.php
@@
-70,7
+70,7
@@
class Runner {
private static function split_special( &$assoc_args, &$config, $spec ) {
foreach ( $spec as $key => $details ) {
- if ( true == $details['runtime'] ) {
+ if ( true ==
=
$details['runtime'] ) {
self::handle_boolean_param( $assoc_args, $config, $key );
} elseif ( false !== $details['runtime'] ) {
if ( isset( $assoc_args[ $key ] ) ) {