title: ACF Repeater field not seeing rows
body: <p>Have a repeater field that looks to see what the section type is and then outputs certain code base on that type. For some reason the code is always outputting "No Rows Found" even though there are rows.</p>
  
  <p>I have this working already for something else but wanting to use it again to output something different its not working.</p>
  
  <p>Here is the code below</p>
  
  <pre><code>&lt;?php if( have_rows('layout_section') ): ?&gt;
  
      &lt;?php while(the_repeater_field('layout_section')): ?&gt;
  
          &lt;?php if (get_sub_field('layout_section_type') == "test") { ?&gt;
  
              &lt;?php the_sub_field('post_id'); ?&gt;
  
          &lt;?php } elseif ( get_sub_field('layout_section_type') == "featured" ) { ?&gt;
  
              &lt;p&gt;Featured Section&lt;/p&gt;
  
          &lt;?php } elseif ( get_sub_field('layout_section_type') == "test2" ) { ?&gt;
  
              &lt;p&gt;Tewsat 2&lt;/p&gt;
  
  
          &lt;?php } else { ?&gt;
  
              &lt;p&gt;Normal Section&lt;/p&gt;
  
          &lt;?php } ?&gt;
  
      &lt;?php endwhile; ?&gt;
  
  &lt;?php
  else :
      echo 'No Rows Found';
      // no rows found
  endif;
  ?&gt;
  </code></pre>
  
  <p>Here is the config on ACF side</p>
  
  <p><a href="http://i.stack.imgur.com/SbHDp.png" rel="nofollow">http://i.stack.imgur.com/SbHDp.png</a>
  <a href="http://i.stack.imgur.com/7zvP3.png" rel="nofollow">http://i.stack.imgur.com/7zvP3.png</a></p>