Tightened condition on Hybrid events to prevent breakage with v3

Fixes #4
This commit is contained in:
Andrey Savchenko committed 2015-06-11 11:56:02 +03:00
1 parent 112c14fde3
commit c593e1e925
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ class Hybrid_Events extends Laps_Events {
*/ */
protected function is_applicable() { protected function is_applicable() {
return defined( 'HYBRID_VERSION' ); return defined( 'HYBRID_VERSION' ) && function_exists( 'hybrid_get_prefix' );
} }
/** /**