Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:dave1010/php-traits

  • Loading branch information...
commit a686d30949c8ddad29f8d7ee556cd453229ea0f8 2 parents 602a433 + a83c3c7
@dave1010 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Options.php
View
4 Options.php
@@ -7,7 +7,7 @@ protected function get_options_container() {
return $options;
}
- public function get_option($name, $default = false) {
+ public function get_option($name, $default = null) {
$c = $this->get_options_container();
return isset($c->$name) ? $c->$name : $default;
}
@@ -17,5 +17,5 @@ public function update_option($name, $newvalue) {
return $c->$name = $newvalue;
}
- public function update_options($values, $defaults=array()) {}
+ //public function update_options($values, $defaults=array()) {}
}
Please sign in to comment.
Something went wrong with that request. Please try again.