Skip to content

[3.5.0 Beta] Fix permissons editing with the PDO Driver#8322

Merged
wilsonge merged 3 commits intojoomla:stagingfrom
zero-24:fix_com_config_pdo
Nov 9, 2015
Merged

[3.5.0 Beta] Fix permissons editing with the PDO Driver#8322
wilsonge merged 3 commits intojoomla:stagingfrom
zero-24:fix_com_config_pdo

Conversation

@zero-24
Copy link
Copy Markdown
Contributor

@zero-24 zero-24 commented Nov 7, 2015

What is changed

Not allways we get a boolean if a SQL is true. e.g. on PDO we get a PDO object.

How to test

  • install beta 1 (PDO Database Driver)
  • go to the global config.
  • try to change the config
  • you got an "undefined" error
  • apply the patch
  • it works.
  • try it again with the mysql driver.

Fixes #8321 Thnaks @Fedik

@Fedik
Copy link
Copy Markdown
Member

Fedik commented Nov 7, 2015

I can confirm, that this pull fixes part of #8321 issue 😉

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

allways = always (one l 😄 )

@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Nov 8, 2015

I've tested this and it works - but I'd much prefer the solution that I've commented in the code - which does the same thing in far less code :)

@Fedik
Copy link
Copy Markdown
Member

Fedik commented Nov 8, 2015

I have tested this item ✅ successfully on 8f311e9


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8322.

@joomla-cms-bot
Copy link
Copy Markdown

This PR has received new commits.

CC: @Fedik


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8322.

@zero-24
Copy link
Copy Markdown
Contributor Author

zero-24 commented Nov 8, 2015

Fixed @wilsonge

@wilsonge
Copy link
Copy Markdown
Contributor

wilsonge commented Nov 8, 2015

I have tested this item ✅ successfully on 93ff193

Works successfully with PDO and MySQLi drivers


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8322.

@Fedik
Copy link
Copy Markdown
Member

Fedik commented Nov 9, 2015

I have tested this item ✅ successfully on 93ff193


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8322.

@zero-24
Copy link
Copy Markdown
Contributor Author

zero-24 commented Nov 9, 2015

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8322.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 9, 2015
wilsonge added a commit that referenced this pull request Nov 9, 2015
[3.5.0 Beta] Fix permissons editing with the PDO Driver
@wilsonge wilsonge merged commit 97a8745 into joomla:staging Nov 9, 2015
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Nov 9, 2015
@zero-24 zero-24 deleted the fix_com_config_pdo branch November 9, 2015 11:43
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.

4 participants