User tests: Successful: Unsuccessful:
Title |
|
I guess we will never get empty version in #__schema, but I agree with you.
Updated.
I actually produced an empty string by installing an extension with the update schemas defined in the manifest but without the actual folder present.
Thanks for the change. it worked for me so far.
Labels |
Added:
?
|
We need a 2.5.x similar PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-08-07 19:33:55 |
I like this change. However I wonder why you explicitely check for
if ($version === null)
. Wouldn't it make more sense to check usingif (!$version)
, detecting for example also an empty string?