B2017-261 - Needed to check for a null value before checking details of pagination
This commit is contained in:
parent
2edf051cb6
commit
7ef955a981
@ -921,8 +921,9 @@ namespace Volian.Print.Library
|
|||||||
myPreferredBreaks.RemoveAt(0);
|
myPreferredBreaks.RemoveAt(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// B2017-252 Pagination Fix - Break at title rather than title content
|
// B2017-252 Pagination Fix - Break at title rather than title content
|
||||||
if (paraBreak.MyItemInfo.ShortPath.EndsWith(".S1.") && (paraBreak.MyItemInfo.ActiveParent as ItemInfo).IsTitle)
|
// B2017-261 - Make sure Parabreak is not null
|
||||||
|
if (paraBreak != null && paraBreak.MyItemInfo.ShortPath.EndsWith(".S1.") && (paraBreak.MyItemInfo.ActiveParent as ItemInfo).IsTitle)
|
||||||
paraBreak = paraBreak.MyParent;
|
paraBreak = paraBreak.MyParent;
|
||||||
yAccountForBottomMsg = 0;
|
yAccountForBottomMsg = 0;
|
||||||
// Do Not Remove: The following is used for debug - useful place to debug
|
// Do Not Remove: The following is used for debug - useful place to debug
|
||||||
|
Loading…
x
Reference in New Issue
Block a user