Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Digital Experience Group
StudentJobs
Commits
657e23d4
Commit
657e23d4
authored
Aug 06, 2010
by
Eric Rasmussen
Browse files
Give error message on failure to save a new app when editing
parent
e8e306ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
app.php
View file @
657e23d4
...
...
@@ -85,7 +85,7 @@ if (isset($_POST['submit']) &&
$msg
=
"Successfully created your application!"
;
header
(
"Location: main.php?msg=
$msg
&success"
);
exit
();
}
else
if
(
!
$profile
){
}
else
if
(
!
$profile
||
(
int
)
$appID
==
0
){
$msg
=
"Error!"
;
header
(
"Location: main.php?msg=
$msg
&failure"
);
exit
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment