PHP isset needs to be if not set
<p>Alright, I have this:</p>

<pre><code>$pg_id = isset($_GET['pg']) ? intval($_GET['pg']) : 1;
if($pg_id == -1) {
   $pg_id = -1;
   $pg_max = -1;
} else {
   $pg_id = $pg_id - 1;
   $pg_max = 12;
}
</code></pre>

<p>Basically this says if the "all" in paginate is clicked, to list all the items, otherwise it paginates and only shows a couple per page.  However, I need to I guess wrap this in an if/else statement to show all to begin with.</p>
