Solve the problematic scenario

This solve the problematic scenario mentioned here.https://github.com/shamika050/phpmyadmin/commit/26021f05f830d91ba24a68045a572e109225a9e1