Page 1 of 1

Edited ID of a link - didn't change

Posted: Wed Mar 01, 2017 8:32 pm
by imhotmedia
Script URL:
Version of script: 2.1.2
Hosting company: bluehost
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I have made my first link, but wanted to change the ID from 001 to 0001. I clicked edit, changed the ID, then clicked save. When dashboard came up again, the ID was still 001. Had to create a new link to make it work.

Just reporting this so perhaps you can fix this issue or let me know what I did wrong. Will be happy to discuss if you have any questions.

Mat

Re: Edited ID of a link - didn't change

Posted: Thu Mar 02, 2017 7:30 am
by Klemen
This is indeed a bug, thanks for reporting it.

It happens because with "normal" comparison PHP considers 1, 001 and 000001 to be of same value.

This should fix it (upload to "admin" folder):
http://www.phpjunkyard.com/extras/edit_link_fix.zip

The fix will also be included in the next release.