mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-12-02 13:36:03 +00:00
trim string before putting into textarea
This commit is contained in:
parent
9ed54b5d33
commit
e379ae20e3
@ -72,7 +72,7 @@ if ($cmd == "getTable") {
|
|||||||
foreach ($fileLines as $line) {
|
foreach ($fileLines as $line) {
|
||||||
$row = explode("\t", $line);
|
$row = explode("\t", $line);
|
||||||
$key = $row[0];
|
$key = $row[0];
|
||||||
$string = $row[1];
|
$string = trim($row[1]);
|
||||||
|
|
||||||
$rowData = [
|
$rowData = [
|
||||||
'rowid' => $rowid,
|
'rowid' => $rowid,
|
||||||
|
4
src/tabs/Tbl.php
Normal file
4
src/tabs/Tbl.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
require_once getcwd() . '/TblEditorGUI_TAB.php';
|
Loading…
Reference in New Issue
Block a user