fixed #10889: Old Matrixs break for Admin users
This commit is contained in:
parent
5cb3a6e005
commit
2cf67ecba4
2 changed files with 5 additions and 1 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
- fixed #10925: Wrong message in i18n
|
- fixed #10925: Wrong message in i18n
|
||||||
- relabel Help in the Admin Console to Template Help
|
- relabel Help in the Admin Console to Template Help
|
||||||
- fixed #10928: EMS Print Ticket -- Time not processed for timezone
|
- fixed #10928: EMS Print Ticket -- Time not processed for timezone
|
||||||
|
- fixed #10889: Old Matrixs break for Admin users
|
||||||
|
|
||||||
7.7.19
|
7.7.19
|
||||||
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
- fixed #10838: Forwarded forum post email to new CS adds reply to original thread
|
||||||
|
|
|
||||||
|
|
@ -473,6 +473,7 @@ sub getCompareForm {
|
||||||
else{
|
else{
|
||||||
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
||||||
}
|
}
|
||||||
|
$maxComparisons += 0;
|
||||||
$form .= "\n<script type='text/javascript'>\n".
|
$form .= "\n<script type='text/javascript'>\n".
|
||||||
'var maxComparisons = '.$maxComparisons.";\n".
|
'var maxComparisons = '.$maxComparisons.";\n".
|
||||||
"var matrixUrl = '".$self->getUrl."';\n".
|
"var matrixUrl = '".$self->getUrl."';\n".
|
||||||
|
|
@ -664,6 +665,7 @@ sub view {
|
||||||
else{
|
else{
|
||||||
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
||||||
}
|
}
|
||||||
|
$maxComparisons += 0;
|
||||||
$var->{maxComparisons} = $maxComparisons;
|
$var->{maxComparisons} = $maxComparisons;
|
||||||
|
|
||||||
if ($self->canEdit){
|
if ($self->canEdit){
|
||||||
|
|
@ -912,6 +914,7 @@ sub www_compare {
|
||||||
else{
|
else{
|
||||||
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
$maxComparisons = $self->get('maxComparisonsPrivileged');
|
||||||
}
|
}
|
||||||
|
$maxComparisons += 0;
|
||||||
|
|
||||||
foreach my $listingId (@listingIds){
|
foreach my $listingId (@listingIds){
|
||||||
my $listingId_safe = $listingId;
|
my $listingId_safe = $listingId;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue