projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
595f522
)
sanity check
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 12 Jan 2011 19:34:47 +0000
(12:34 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 12 Jan 2011 20:18:02 +0000
(13:18 -0700)
chora/commit.php
patch
|
blob
|
history
diff --git
a/chora/commit.php
b/chora/commit.php
index
4d8b1e5
..
e30e64c
100644
(file)
--- a/
chora/commit.php
+++ b/
chora/commit.php
@@
-21,7
+21,10
@@
if (!$GLOBALS['VC']->hasFeature('patchsets')) {
Chora::url('browsedir', $where)->redirect();
}
-$commit_id = Horde_Util::getFormData('commit');
+if (!($commit_id = Horde_Util::getFormData('commit'))) {
+ Chora::fatal(_("No commit ID given"));
+}
+
$title = sprintf(_("Commit %s"), $commit_id);
try {