Skip to content

Commit 0f0907c

Browse files
authored
Merge pull request #26 from mrrobot47/fix/info-auto-detect
Auto set arg only when called externally
2 parents bd9777b + de71f4a commit 0f0907c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Site_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ public function disable( $args ) {
277277
*/
278278
public function info( $args ) {
279279
\EE\Utils\delem_log( 'site info start' );
280-
$args = \EE\Utils\set_site_arg( $args, 'site info' );
281280
if ( ! isset( $this->site_name ) ) {
281+
$args = \EE\Utils\set_site_arg( $args, 'site info' );
282282
$this->populate_site_info( $args );
283283
}
284284
EE::log( "Details for site $this->site_name:" );

0 commit comments

Comments
 (0)