Skip to content

Fixed: dropTable() of forge wouldn't work if your 'DBPrefix' is empty #736

Merged
lonnieezell merged 1 commit into
codeigniter4:developfrom
jaynarayan89:fix/forge
Sep 27, 2017
Merged

Fixed: dropTable() of forge wouldn't work if your 'DBPrefix' is empty #736
lonnieezell merged 1 commit into
codeigniter4:developfrom
jaynarayan89:fix/forge

Conversation

@jaynarayan89
Copy link
Copy Markdown
Contributor

@jaynarayan89 jaynarayan89 commented Sep 26, 2017

on line 492 it try to remove dbprefix from table name without checking if dbprefix is used or not. so if you didn't set dbprefix , strpos() used on that line throws error ( empty needle).

@lonnieezell lonnieezell merged commit d3a3a86 into codeigniter4:develop Sep 27, 2017
@jaynarayan89 jaynarayan89 deleted the fix/forge branch September 27, 2017 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants