AT-4848: Added a condition to handle a false positive.
authorHarris Wong <harris.wong@gmail.com>
Tue, 20 Sep 2011 21:45:45 +0000 (17:45 -0400)
committerHarris Wong <harris.wong@gmail.com>
Tue, 20 Sep 2011 21:45:45 +0000 (17:45 -0400)
commit789f48aa8be76938d529dca2aaa5e3352b2c090e
tree000271e47441a5c7f7bfcdcab0be807da013bcb7
parent42b359cc60c6c613260372557c3538da471f25f5
AT-4848: Added a condition to handle a false positive.

If the common_path is the same as the content_info[new_path], the path will be kept because the current condition will return false.  Substring "a" on "a" is empty, which is false.  Added an extra condition in for this purpose.
docs/mods/_core/imscp/ims_import.php