Skip to content

Instantly share code, notes, and snippets.

@johndwells
Created August 24, 2011 13:55
Show Gist options
  • Save johndwells/1168123 to your computer and use it in GitHub Desktop.
Save johndwells/1168123 to your computer and use it in GitHub Desktop.
Publish Layout Break Debug
<?php
// place this snippet at line 61 of system/expressionengine/views/content/publish.php
if(! array_key_exists('field_visibility', $field)) {
var_dump($name);
var_dump($field);
die;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment