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
b1f32488
Commit
b1f32488
authored
10 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
oops: Don't crash rendering new data forms
parent
8dfbc1ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/staff/templates/dynamic-form.tmpl.php
+1
-1
1 addition, 1 deletion
include/staff/templates/dynamic-form.tmpl.php
with
1 addition
and
1 deletion
include/staff/templates/dynamic-form.tmpl.php
+
1
−
1
View file @
b1f32488
...
...
@@ -77,7 +77,7 @@ if (isset($options['entry']) && $options['mode'] == 'edit') { ?>
?>
"
data-entry-id=
"
<?php
echo
$field
->
getAnswer
()
->
get
(
'entry_id'
);
?>
"
>
<i
class=
"icon-trash"
></i>
</a></div>
<?php
}
if
(
!
$a
->
getValue
()
&&
$field
->
isRequiredForClose
())
{
if
(
$a
&&
!
$a
->
getValue
()
&&
$field
->
isRequiredForClose
())
{
?>
<i
class=
"icon-warning-sign help-tip warning"
data-title=
"
<?php
echo
__
(
'Required to close ticket'
);
?>
"
data-content=
"
<?php
echo
__
(
'Data is required in this field in order to close the related ticket'
);
?>
"
...
...
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