Skip to content
Permalink
Browse files

Fix Multi-sites context

  • Loading branch information
sebastienheraud committed Dec 17, 2019
1 parent 3a8f900 commit 268c0726e0f6c60f9c0d1c3682272f9b3f883aad
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/cms/cck/cck.php
@@ -187,7 +187,7 @@ public static function _setMultisite()

if ( $s->context != '' ) {
$hasContext = true;
$pos = strpos( $path_base, '/'.$s->context );
$pos = strpos( $path_base.'/', '/'.$s->context.'/' );

if ( $pos !== false && $pos == 0 ) {
$context = $s->context;

0 comments on commit 268c072

Please sign in to comment.
You can’t perform that action at this time.