Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
2e6d1e55
Unverified
Commit
2e6d1e55
authored
5 years ago
by
Peter Rotich
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #5079 from JediKev/issue/mbstring-ext-requirement
issue: Mbstring Extension Requirement
parents
51bc96ee
5a96884d
No related branches found
Branches containing commit
Tags
v1.9.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/upgrader/prereq.inc.php
+1
-1
1 addition, 1 deletion
include/upgrader/prereq.inc.php
scp/tickets.php
+8
-3
8 additions, 3 deletions
scp/tickets.php
with
9 additions
and
4 deletions
include/upgrader/prereq.inc.php
+
1
−
1
View file @
2e6d1e55
...
...
@@ -17,7 +17,7 @@ if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access D
<li
class=
"
<?php
echo
$upgrader
->
check_php
()
?
'yes'
:
'no'
;
?>
"
>
<?php
echo
sprintf
(
__
(
'%s or later'
),
'PHP v'
.
SetupWizard
::
getPHPVersion
());
?>
- (
<small><b>
<?php
echo
PHP_VERSION
;
?>
</b></small>
)
</li>
<li
class=
"
<?php
echo
$upgrader
->
check_mysql
()
?
'yes'
:
'no'
;
?>
"
>
<?php
echo
__
(
'MySQLi extension for PHP'
);
?>
- (
<small><b>
<?php
<?php
echo
__
(
'MySQLi extension for PHP'
);
?>
- (
<small><b>
<?php
echo
extension_loaded
(
'mysqli'
)
?
__
(
'module loaded'
)
:
__
(
'missing!'
);
?>
</b></small>
)
</li>
<li
class=
"
<?php
echo
$upgrader
->
check_mysql_version
()
?
'yes'
:
'no'
;
?>
"
>
<?php
echo
sprintf
(
__
(
'%s or later'
),
'MySQL v'
.
SetupWizard
::
getMySQLVersion
());
?>
- (
<small><b>
<?php
echo
db_version
();
?>
</b></small>
)
</li>
...
...
This diff is collapsed.
Click to expand it.
scp/tickets.php
+
8
−
3
View file @
2e6d1e55
...
...
@@ -495,9 +495,14 @@ if($ticket) {
$f
->
filterFields
(
function
(
$f
)
{
return
!
$f
->
isStorable
();
});
$f
->
addMissingFields
();
}
}
elseif
(
$_REQUEST
[
'a'
]
==
'print'
&&
!
$ticket
->
pdfExport
(
$_REQUEST
[
'psize'
],
$_REQUEST
[
'notes'
],
$_REQUEST
[
'events'
]))
$errors
[
'err'
]
=
__
(
'Unable to export the ticket to PDF for print.'
)
.
' '
.
__
(
'Internal error occurred'
);
}
elseif
(
$_REQUEST
[
'a'
]
==
'print'
)
if
(
!
extension_loaded
(
'mbstring'
))
$errors
[
'err'
]
=
sprintf
(
'%s %s'
,
'mbstring'
,
__
(
'extension required to print ticket to PDF'
));
elseif
(
!
$ticket
->
pdfExport
(
$_REQUEST
[
'psize'
],
$_REQUEST
[
'notes'
],
$_REQUEST
[
'events'
]))
$errors
[
'err'
]
=
__
(
'Unable to export the ticket to PDF for print.'
)
.
' '
.
__
(
'Internal error occurred'
);
}
else
{
$inc
=
'templates/queue-tickets.tmpl.php'
;
if
(
$_REQUEST
[
'a'
]
==
'open'
&&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment