--- loncom/interface/londocs.pm 2017/08/28 03:57:04 1.638 +++ loncom/interface/londocs.pm 2017/08/31 20:02:35 1.639 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.638 2017/08/28 03:57:04 raeburn Exp $ +# $Id: londocs.pm,v 1.639 2017/08/31 20:02:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6477,8 +6477,8 @@ unless ($container eq 'page') { if ($error) { $r->print('

'.$error.'

'); } - unless (&is_hash_old()) { - if ($hadchanges) { + if ($hadchanges) { + unless (&is_hash_old()) { &mark_hash_old(); } }