Commit d1302a2e authored by Snehal Brahmbhatt's avatar Snehal Brahmbhatt Committed by Damien McKenna
Browse files

Issue #1280382 by Alan Evans, dawehner, David_Rothstein, nileshlohar, Snehal...

Issue #1280382 by Alan Evans, dawehner, David_Rothstein, nileshlohar, Snehal Brahmbhatt, DamienMcKenna, deepakrmklm, lmeurs, damiankloip, leewillis77, Chris Matthews, Andrew Answer: Enabling disabled views presents a path to the new view which leads to 404.
parent b18539f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1560,7 +1560,7 @@ function views_get_applicable_views($type) {
  // @todo Use a smarter flagging system so that we don't have to
  // load every view for this.
  $result = array();
  $views = views_get_all_views();
  $views = views_get_all_views(TRUE);

  foreach ($views as $view) {
    // Skip disabled views.