| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | 3 | Plugin Name: Document Gallery |
| 4 | 4 | Description: Display non-images (and images) in gallery format on a page or post with the [dg] shortcode. |
| 5 | -Version: 1.2.1 | |
| 5 | +Version: 1.2 | |
| 6 | 6 | Author: Dan Rossiter |
| 7 | 7 | Author URI: http://danrossiter.org/ |
| 8 | 8 | License: GPL2 |
| 9 | 9 | */ |
| @@ -36,9 +36,9 @@ | ||
| 36 | 36 | if( strtolower($attachment_pg) == "false" ){ $attachment_pg = FALSE; } |
| 37 | 37 | |
| 38 | 38 | if( strtolower($images) == "false" ){ $images = FALSE; } |
| 39 | 39 | |
| 40 | - if( strtolower($ids) == "false" ){ $ids = FALSE; } | |
| 40 | + if( strtolower($ids) ){ $ids = FALSE; } | |
| 41 | 41 | |
| 42 | 42 | // http://www.youtube.com/watch?v=ClnSMCdw6E8 |
| 43 | 43 | if( $errs ) return implode(' ', $errs); |
| 44 | 44 | // END VALIDATION (WE MADE IT!) |