Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Commit 4fd38bb

Browse files
authored
Bug in ob_start
1 parent 35d18da commit 4fd38bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ if ($com1 === "history"){
208208

209209
/* Diff files */
210210
function rdiff($me, $crc = ""){
211-
@ob_start;
211+
@ob_start();
212212
$home = $_SERVER['HOME'];
213213
if (count(file("$home/.scs/index$crc")) - $me <= 2){echo "No more diff found";return;}
214214
$store = file("$home/.scs/index$crc");
@@ -217,7 +217,7 @@ function rdiff($me, $crc = ""){
217217
$last = explode("home",$last);
218218
$lastp1 = $home.trim($last[1]);
219219
$lastp2 = $home.trim($last[2]);
220-
@ob_end_clean;
220+
@ob_end_clean();
221221
echo PHP_EOL;
222222
@system("dwdiff -c -C 0 -L '$lastp1' '$lastp2'");
223223
}

0 commit comments

Comments
 (0)