Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function _() in data_queries.php #2678

Closed
ddb4github opened this issue May 8, 2019 · 3 comments
Closed

Call to undefined function _() in data_queries.php #2678

ddb4github opened this issue May 8, 2019 · 3 comments
Labels
bug Undesired behaviour resolved A fixed issue

Comments

@ddb4github
Copy link
Contributor

--- data_queries.php    2019-05-08 20:32:44.903163595 +0800
+++ data_queries.php     2019-05-07 16:04:53.612583022 +0800
@@ -749,7 +749,7 @@
                                                                                form_dropdown('dsdt_' . $data_template['id'] . '_' . $data_template_rrd['id'] . '_snmp_field_output',$xml_outputs,'','',$data_template_rrd['snmp_field_name'],'','');?>
                                                                        </td>
                                                                        <td class='right'>
-                                                                               <?php form_checkbox('dsdt_' . $data_template['id'] . '_' . $data_template_rrd['id'] . '_check', $old_value, '', '', '', get_request_var('id'), '', __('If this Graph Template requires the Data Template Data Source to the left, select the correct XML output column and then to enable the mapping either check or toggle here.')); print '<br>';?>
+                                                                               <?php form_checkbox('dsdt_' . $data_template['id'] . '_' . $data_template_rrd['id'] . '_check', $old_value, '', '', '', get_request_var('id'), '', _('If this Graph Template requires the Data Template Data Source to the left, select the correct XML output column and then to enable the mapping either check or toggle here.')); print '<br>';?>
                                                                        </td>
                                                                </tr>
                                                        </table>
cigamit added a commit that referenced this issue May 8, 2019
Call to undefined function _() in data_queries.php
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue labels May 8, 2019
@netniV
Copy link
Member

netniV commented May 16, 2019

That should be a double underscore __

@ddb4github
Copy link
Contributor Author

That should be a double underscore __

Yes, I reverse pre/post file during diff cmd 😢

@netniV
Copy link
Member

netniV commented May 18, 2019

Sorry, when I saw this using my phone the other day it did not show me the commit that cigamit had done. All sorted at least

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants