diff options
| author | spider@dav <spiderr@bitweaver.org> | 2025-05-15 15:31:23 -0400 |
|---|---|---|
| committer | spider@dav <spiderr@bitweaver.org> | 2025-05-15 15:31:23 -0400 |
| commit | ed0c507cafa4eaee97a9931b21e2fbfe8a0180a9 (patch) | |
| tree | 54888279674b55abe5e9cb32a4b19f1e7da7b5e2 | |
| parent | 6ba6d8397a0407c914e6ef9919d09a4456183b72 (diff) | |
| download | util-ed0c507cafa4eaee97a9931b21e2fbfe8a0180a9.tar.gz util-ed0c507cafa4eaee97a9931b21e2fbfe8a0180a9.tar.bz2 util-ed0c507cafa4eaee97a9931b21e2fbfe8a0180a9.zip | |
init WikiDiff::$edits
| -rw-r--r-- | includes/diff.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/diff.php b/includes/diff.php index bcda57f..4054249 100644 --- a/includes/diff.php +++ b/includes/diff.php @@ -39,7 +39,7 @@ define('USE_ASSERTS', function_exists('assert')); */ class _WikiDiffEngine { - public $edits; // List of editing operation to convert XV to YV. + public $edits = array(); // List of editing operation to convert XV to YV. public $xv = array(), $yv = array(); public $xchanged, $ychanged; function _WikiDiffEngine ($from_lines, $to_lines) @@ -443,7 +443,7 @@ class _WikiDiffEngine */ class WikiDiff { - public $edits; + public $edits = array(); /** * Compute diff between files (or deserialize serialized WikiDiff.) */ |
