pull/3038/head
Isaac Connor 2017-06-05 15:21:27 -04:00
parent 36ae355a2c
commit ad4264dad7
1 changed files with 3 additions and 3 deletions

View File

@ -151,9 +151,9 @@ private $control_fields = array(
return new Server( $this->{'ServerId'} );
}
public function __call( $fn, array $args){
if ( count( $args ) ) {
$this->{$fn} = $args[0];
}
if ( count( $args ) ) {
$this->{$fn} = $args[0];
}
if ( array_key_exists( $fn, $this ) ) {
return $this->{$fn};
#array_unshift($args, $this);