mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
php-diff: PHP fix
This commit is contained in:
parent
5080ae3433
commit
4dc69118d8
@ -150,7 +150,7 @@ class Diff_Renderer_Html_Array extends Diff_Renderer_Abstract
|
||||
{
|
||||
$start = 0;
|
||||
$limit = min(strlen($fromLine), strlen($toLine));
|
||||
while($start < $limit && $fromLine{$start} == $toLine{$start}) {
|
||||
while($start < $limit && $fromLine[$start] == $toLine[$start]) {
|
||||
++$start;
|
||||
}
|
||||
$end = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user