Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kprovance committed Feb 20, 2014
1 parent aafc776 commit 75f1264
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ReduxCore/framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,7 @@ public function _enqueue_output() {

if( $class_file && file_exists($class_file) && !class_exists( $field_class ) ) {
/** @noinspection PhpIncludeInspection */
if (file_exists($class_file)) {
require_once( $class_file );
}
require_once( $class_file );
}
}

Expand Down Expand Up @@ -2297,7 +2295,7 @@ public function _validate_values( $plugin_options, $options, $sections ) {

if( $class_file ) {
/** @noinspection PhpIncludeInspection */
if (file_exists($class_file) {
if ( file_exists( $class_file ) ) {
require_once( $class_file );
}
}
Expand Down

0 comments on commit 75f1264

Please sign in to comment.