fix up new text address handling in page content dumps

Broken in I979b6c8f0a72bc1f5ecce1d499d3fdfa0f671588

Bug: T174031
Change-Id: Ia31fc7b559f59d53bb503a59abf9110f0e65178c
This commit is contained in:
Ariel T. Glenn 2019-03-25 18:50:27 +02:00
parent d9b6e906af
commit 5bc0fd8aba

View file

@ -839,6 +839,7 @@ TEXT
if ( $newAddress === false ) {
return false;
}
$newAddress = trim( $newAddress );
if ( strpos( $newAddress, ':' ) === false ) {
$newAddress = SqlBlobStore::makeAddressFromTextId( intval( $newAddress ) );
}