Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cke_wfpl_images: cleanup, auto-select first
[wfpl-cms.git]
/
admin_pages.php
diff --git
a/admin_pages.php
b/admin_pages.php
index
4f5c4c8
..
0736879
100644
(file)
--- a/
admin_pages.php
+++ b/
admin_pages.php
@@
-80,7
+80,7
@@
function admin_pages_main_delete($id) {
function admin_pages_get_images() {
$images = db_get_assocs('cms_images', 'image,name,caption,sizes', 'order by name, caption, image');
- $id = 1;
+ $id = 0;
foreach($images as &$image) {
$image['id'] = '' . $id;
$id += 1;