diff --git a/monstra/engine/options.php b/monstra/engine/options.php index 68a8524..8f26e06 100644 --- a/monstra/engine/options.php +++ b/monstra/engine/options.php @@ -169,7 +169,7 @@ * Check if option exist * * - * if (Option::exist('pages_limit')) { + * if (Option::exists('pages_limit')) { * // do something... * } * @@ -177,12 +177,12 @@ * @param string $option Name of option to check. * @return boolean */ - public static function exist($option) { + public static function exists($option) { // Redefine vars $option = (string) $option; - // Check if option exist + // Check if option exists return (count(Option::$options->select('[name="'.$option.'"]', null)) > 0) ? true : false; }