This commit is contained in:
salam committed 2026-09-06 13:35:15 +02:00
1 parent d5c08ec7f8
commit 696e145b6e
1 file changed
+4 -4
+4 -4
View File
@@ -78,10 +78,10 @@ class BoardDispatcher extends Component
public function copyResult() public function copyResult()
{ {
$copystring = ""; $copystring = shell_exec("Line One\nLine Two\nLine Three");
foreach ($this->results as $row) { // foreach ($this->results as $row) {
$copystring .= "`" . implode("\t", $row) . "\n`"; // $copystring .= "`" . implode("\t", $row) . "\n`";
} // }
$this->js("navigator.clipboard.writeText('{$copystring}')"); $this->js("navigator.clipboard.writeText('{$copystring}')");
} }