Remove md5 twig extension #14305
Merged
Remove md5 twig extension #14305
Conversation
@@ -1,5 +1,6 @@ | |||
<tr> | |||
<td class="vmiddle"> | |||
<h1>{{ myfield_md5 }}</h1> |
mauriciofauth
May 18, 2018
Member
Is this addition intentional?
Is this addition intentional?
laps15
May 18, 2018
Author
Contributor
Totally unintentional, I was using for debug only.
Totally unintentional, I was using for debug only.
@@ -654,6 +654,8 @@ protected function displayTableList() | |||
Template::get('database/structure/structure_table_row') | |||
->render( | |||
array( | |||
'table_name_hash' => md5($current_table['TABLE_NAME']), | |||
'db_table_name_hash' => md5($this->db.$current_table['TABLE_NAME']), |
mauriciofauth
May 18, 2018
Member
Could you add one space before and after the concat operator?
Could you add one space before and after the concat operator?
laps15
May 18, 2018
Author
Contributor
Done! There was a '.' missing between the db name ante the table name, fixed that too.
Done! There was a '.' missing between the db name ante the table name, fixed that too.
Codecov Report
@@ Coverage Diff @@
## master #14305 +/- ##
============================================
- Coverage 50.45% 50.44% -0.01%
- Complexity 14410 14411 +1
============================================
Files 502 502
Lines 67019 67025 +6
============================================
- Hits 33814 33813 -1
- Misses 33205 33212 +7 |
@@ -117,7 +117,7 @@ | |||
{% set myfield = save_row[i]['Field'] %} | |||
{# Use an md5 as array index to avoid having special characters | |||
in the name attribute (see bug #1746964 ) #} | |||
{% set myfield_md5 = md5(myfield) %} | |||
{% set myfield_md5 = save_row[i]['Hash'] %} |
mauriciofauth
May 19, 2018
Member
This value seems to be empty for me.
This value seems to be empty for me.
laps15
May 22, 2018
Author
Contributor
Fixed it, it really was empty. Now I'm using the other array (column_array).
Fixed it, it really was empty. Now I'm using the other array (column_array).
Adapt templates to remove md5 from PhpFuncionsExtension.php Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
2d5825d
into
phpmyadmin:master
4 of 6 checks passed
4 of 6 checks passed
Merged, thanks for your contribution! |
@laps15 You have maybe introduced a bug. |
laps15
added a commit
to laps15/phpmyadmin
that referenced
this pull request
May 30, 2018
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
laps15
added a commit
to laps15/phpmyadmin
that referenced
this pull request
May 30, 2018
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
laps15
added a commit
to laps15/phpmyadmin
that referenced
this pull request
May 30, 2018
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
mauriciofauth
added a commit
that referenced
this pull request
May 30, 2018
Fix bug reported on pull request #14305
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Adapt templates to remove md5 from PhpFuncionsExtension.php
Signed-off-by: Leonardo Strozzi laps15@inf.ufpr.br
Before submitting pull request, please check that every commit: