Bug "Active" button does not work if you make "inactive" then "active" again

Status
Not open for further replies.

GgAcE

Customer
"Active" button does not work if you make "inactive" then "active" again

By default, the image is active when you first upload.

If you change the activity level by unchecking the "active" check box, then recheck to make "active" - The picture will still remain inactive.

1.png
2.png
3.png
4.png
 
Sorry about that,
Open dbtech/gallery/actions/doeditimage.php

Find on line 56
PHP:
$approved                    = ($vbulletin->GPC['approved'] == 'on') ? 1 : 0;

replace with

PHP:
$approved                    = ($vbulletin->GPC['active'] == 'on') ? 1 : 0;

I have it fixed in next code version
 
Status
Not open for further replies.

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
865
Customer rating
0.00 star(s) 0 ratings
Top