print statement fix from Neil's comments

This commit is contained in:
daarond
2015-05-24 11:27:27 -05:00
parent f240b6dcda
commit d8468e3bf4

View File

@@ -226,7 +226,7 @@ Blockly.PHP['text_trim'] = function(block) {
Blockly.PHP['text_print'] = function(block) {
// Print statement.
var argument0 = Blockly.PHP.valueToCode(block, 'TEXT',
Blockly.PHP.ORDER_FUNCTION_CALL) || '\'\'';
Blockly.PHP.ORDER_NONE) || '\'\'';
return 'print(' + argument0 + ');\n';
};